>>> bluez: Building main/bluez 5.62-r0 (using abuild 3.9.0_rc2-r1) started Mon, 25 Oct 2021 10:00:22 +0000 >>> bluez: Checking sanity of /home/buildozer/aports/main/bluez/APKBUILD... >>> bluez: Analyzing dependencies... >>> bluez: Installing for build: build-base dbus dbus-dev libusb-compat-dev eudev-dev json-c-dev libical-dev readline-dev glib-dev linux-headers autoconf automake libtool ell-dev py3-docutils (1/133) Installing dbus-libs (1.12.20-r2) (2/133) Installing dbus (1.12.20-r2) Executing dbus-1.12.20-r2.pre-install Executing dbus-1.12.20-r2.post-install (3/133) Installing util-linux (2.37.2-r1) (4/133) Installing libblkid (2.37.2-r1) (5/133) Installing libeconf (0.4.1-r0) (6/133) Installing libuuid (2.37.2-r1) (7/133) Installing libfdisk (2.37.2-r1) (8/133) Installing libmount (2.37.2-r1) (9/133) Installing libsmartcols (2.37.2-r1) (10/133) Installing util-linux-misc (2.37.2-r1) (11/133) Installing linux-pam (1.5.2-r0) (12/133) Installing runuser (2.37.2-r1) (13/133) Installing hexdump (2.37.2-r1) (14/133) Installing uuidgen (2.37.2-r1) (15/133) Installing blkid (2.37.2-r1) (16/133) Installing sfdisk (2.37.2-r1) (17/133) Installing mcookie (2.37.2-r1) (18/133) Installing wipefs (2.37.2-r1) (19/133) Installing cfdisk (2.37.2-r1) (20/133) Installing flock (2.37.2-r1) (21/133) Installing lsblk (2.37.2-r1) (22/133) Installing libcap-ng (0.8.2-r0) (23/133) Installing setpriv (2.37.2-r1) (24/133) Installing logger (2.37.2-r1) (25/133) Installing partx (2.37.2-r1) (26/133) Installing findmnt (2.37.2-r1) (27/133) Installing util-linux-dev (2.37.2-r1) (28/133) Installing dbus-dev (1.12.20-r2) (29/133) Installing libusb-compat (0.1.7-r0) (30/133) Installing libusb (1.0.24-r3) (31/133) Installing libusb-dev (1.0.24-r3) (32/133) Installing libusb-compat-dev (0.1.7-r0) (33/133) Installing udev-init-scripts (35-r0) Executing udev-init-scripts-35-r0.post-install (34/133) Installing eudev-libs (3.2.10-r1) (35/133) Installing kmod-libs (29-r2) (36/133) Installing eudev (3.2.10-r1) (37/133) Installing eudev-dev (3.2.10-r1) (38/133) Installing json-c (0.15-r1) (39/133) Installing json-c-dev (0.15-r1) (40/133) Installing libffi (3.4.2-r1) (41/133) Installing gdbm (1.20-r2) (42/133) Installing mpdecimal (2.5.1-r1) (43/133) Installing readline (8.1.1-r0) (44/133) Installing sqlite-libs (3.36.0-r0) (45/133) Installing python3 (3.9.7-r3) (46/133) Installing gettext-asprintf (0.21-r0) (47/133) Installing libintl (0.21-r0) (48/133) Installing libunistring (0.9.10-r1) (49/133) Installing gettext-libs (0.21-r0) (50/133) Installing libxml2 (2.9.12-r1) (51/133) Installing gettext (0.21-r0) (52/133) Installing gettext-dev (0.21-r0) (53/133) Installing bzip2-dev (1.0.8-r1) (54/133) Installing libxml2-utils (2.9.12-r1) (55/133) Installing libgpg-error (1.42-r1) (56/133) Installing libgcrypt (1.9.4-r0) (57/133) Installing libxslt (1.1.34-r1) (58/133) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (59/133) Installing docbook-xsl (1.79.2-r3) Executing docbook-xsl-1.79.2-r3.post-install (60/133) Installing pcre (8.45-r1) (61/133) Installing glib (2.70.0-r1) (62/133) Installing linux-headers (5.10.41-r0) (63/133) Installing libffi-dev (3.4.2-r1) (64/133) Installing libpcre16 (8.45-r1) (65/133) Installing libpcre32 (8.45-r1) (66/133) Installing libpcrecpp (8.45-r1) (67/133) Installing pcre-dev (8.45-r1) (68/133) Installing zlib-dev (1.2.11-r3) (69/133) Installing glib-dev (2.70.0-r1) (70/133) Installing icu-libs (69.1-r0) (71/133) Installing icu (69.1-r0) (72/133) Installing icu-dev (69.1-r0) (73/133) Installing xz-dev (5.2.5-r0) (74/133) Installing libxml2-dev (2.9.12-r1) (75/133) Installing libxau (1.0.9-r0) (76/133) Installing libmd (1.0.3-r0) (77/133) Installing libbsd (0.11.3-r1) (78/133) Installing libxdmcp (1.1.3-r0) (79/133) Installing libxcb (1.14-r2) (80/133) Installing libx11 (1.7.2-r0) (81/133) Installing libxrender (0.9.10-r3) (82/133) Installing libxext (1.3.4-r0) (83/133) Installing libpng (1.6.37-r1) (84/133) Installing freetype (2.11.0-r0) (85/133) Installing fontconfig (2.13.1-r4) (86/133) Installing pixman (0.40.0-r3) (87/133) Installing cairo (1.16.0-r3) (88/133) Installing cairo-tools (1.16.0-r3) (89/133) Installing expat-dev (2.4.1-r0) (90/133) Installing brotli-dev (1.0.9-r5) (91/133) Installing libpng-dev (1.6.37-r1) (92/133) Installing freetype-dev (2.11.0-r0) (93/133) Installing fontconfig-dev (2.13.1-r4) (94/133) Installing xorgproto (2021.5-r0) (95/133) Installing libxau-dev (1.0.9-r0) (96/133) Installing xcb-proto (1.14.1-r2) (97/133) Installing libxdmcp-dev (1.1.3-r0) (98/133) Installing libxcb-dev (1.14-r2) (99/133) Installing xtrans (1.4.0-r1) (100/133) Installing libx11-dev (1.7.2-r0) (101/133) Installing libxext-dev (1.3.4-r0) (102/133) Installing libxrender-dev (0.9.10-r3) (103/133) Installing pixman-dev (0.40.0-r3) (104/133) Installing util-macros (1.19.3-r0) (105/133) Installing xcb-util (0.4.0-r3) (106/133) Installing xcb-util-dev (0.4.0-r3) (107/133) Installing cairo-gobject (1.16.0-r3) (108/133) Installing cairo-dev (1.16.0-r3) (109/133) Installing bash (5.1.8-r0) Executing bash-5.1.8-r0.post-install (110/133) Installing libltdl (2.4.6-r7) (111/133) Installing libtool (2.4.6-r7) (112/133) Installing gobject-introspection (1.70.0-r1) (113/133) Installing gobject-introspection-dev (1.70.0-r1) (114/133) Installing libical (3.0.11-r1) (115/133) Installing libical-dev (3.0.11-r1) (116/133) Installing libhistory (8.1.1-r0) (117/133) Installing ncurses-dev (6.2_p20211017-r0) (118/133) Installing readline-dev (8.1.1-r0) (119/133) Installing m4 (1.4.18-r2) (120/133) Installing perl (5.34.0-r1) (121/133) Installing autoconf (2.71-r0) (122/133) Installing automake (1.16.4-r1) (123/133) Installing ell (0.44-r0) (124/133) Installing ell-dev (0.44-r0) (125/133) Installing py3-docutils (0.16-r3) (126/133) Installing .makedepends-bluez (20211025.100022) (127/133) Installing util-linux-openrc (2.37.2-r1) (128/133) Installing dbus-openrc (1.12.20-r2) (129/133) Installing udev-init-scripts-openrc (35-r0) (130/133) Installing eudev-openrc (3.2.10-r1) (131/133) Installing perl-error (0.17029-r1) (132/133) Installing perl-git (2.33.1-r0) (133/133) Installing git-perl (2.33.1-r0) Executing busybox-1.34.1-r2.trigger Executing dbus-1.12.20-r2.trigger Executing eudev-3.2.10-r1.trigger Executing glib-2.70.0-r1.trigger No schema files found: removed existing output file. OK: 579 MiB in 230 packages >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/bluez-5.62.tar.xz % 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 curl: (22) The requested URL returned error: 404 >>> bluez: Fetching https://www.kernel.org/pub/linux/bluetooth/bluez-5.62.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 162 100 162 0 0 3270 0 --:--:-- --:--:-- --:--:-- 3306 100 2098k 100 2098k 0 0 14.3M 0 --:--:-- --:--:-- --:--:-- 14.3M >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/bluez-5.62.tar.xz >>> bluez: Checking sha512sums... bluez-5.62.tar.xz: OK bluetooth.initd: OK rfcomm.initd: OK rfcomm.confd: OK org.bluez.obex.service: OK mpris-proxy.desktop: OK 001-bcm43xx-Add-bcm43xx-3wire-variant.patch: OK 002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch: OK 003-Increase-firmware-load-timeout-to-30s.patch: OK 004-Move-the-43xx-firmware-into-lib-firmware.patch: OK 005-hostname-Use-phone-class-for-handhelds.patch: OK disable-lock-test.patch: OK fix-endianness.patch: OK musl.patch: OK test-mesh-crypto.patch: OK fix-musl.patch: OK >>> bluez: Unpacking /var/cache/distfiles/v3.15/bluez-5.62.tar.xz... >>> bluez: 001-bcm43xx-Add-bcm43xx-3wire-variant.patch patching file tools/hciattach.c Hunk #1 succeeded at 1078 (offset -66 lines). >>> bluez: 002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch patching file tools/hciattach_bcm43xx.c Hunk #1 succeeded at 354 (offset -12 lines). Hunk #2 succeeded at 365 (offset -12 lines). >>> bluez: 003-Increase-firmware-load-timeout-to-30s.patch patching file tools/hciattach.c Hunk #1 succeeded at 1227 (offset -66 lines). >>> bluez: 004-Move-the-43xx-firmware-into-lib-firmware.patch patching file tools/hciattach_bcm43xx.c Hunk #1 succeeded at 31 (offset -12 lines). >>> bluez: 005-hostname-Use-phone-class-for-handhelds.patch patching file plugins/hostname.c >>> bluez: disable-lock-test.patch patching file unit/test-gatt.c Hunk #1 succeeded at 4475 (offset 16 lines). >>> bluez: fix-endianness.patch patching file src/shared/util.h Hunk #1 succeeded at 14 with fuzz 2 (offset -12 lines). >>> bluez: musl.patch patching file mesh/net.h Hunk #1 succeeded at 12 (offset -9 lines). >>> bluez: test-mesh-crypto.patch patching file Makefile.am Hunk #1 succeeded at 566 (offset 27 lines). >>> bluez: fix-musl.patch patching file tools/mesh-cfgtest.c autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:19: warning: The macro `AC_LANG_C' is obsolete. configure.ac:19: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.ac:19: the top level configure.ac:33: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:33: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:33: the top level configure.ac:45: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... acinclude.m4:32: MISC_FLAGS is expanded from... configure.ac:45: the top level configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:47: the top level configure.ac:86: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:86: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:86: the top level configure.ac:99: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:99: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:99: the top level configure.ac:112: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:112: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:112: the top level configure.ac:125: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:125: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:125: the top level configure.ac:137: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:137: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:137: the top level configure.ac:151: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:151: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:151: the top level configure.ac:155: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:155: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:155: the top level configure.ac:159: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:159: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:159: the top level configure.ac:163: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:163: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:163: the top level configure.ac:167: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:167: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:167: the top level configure.ac:171: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:171: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:171: the top level configure.ac:175: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:175: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:175: the top level configure.ac:179: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:179: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:179: the top level configure.ac:183: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:183: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:183: the top level configure.ac:187: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:187: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:187: the top level configure.ac:191: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:191: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:191: the top level configure.ac:195: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:195: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:195: the top level configure.ac:199: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:199: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:199: the top level configure.ac:212: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:212: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:212: the top level configure.ac:224: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:224: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:224: the top level configure.ac:228: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:228: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:228: the top level configure.ac:239: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:239: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:239: the top level configure.ac:250: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:250: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:250: the top level configure.ac:260: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:260: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:260: the top level configure.ac:264: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:264: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:264: the top level configure.ac:279: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:279: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:279: the top level configure.ac:289: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:289: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:289: the top level configure.ac:294: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:294: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:294: the top level configure.ac:308: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:308: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:308: the top level configure.ac:321: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:321: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:321: the top level configure.ac:326: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:326: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:326: the top level configure.ac:338: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:338: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:338: the top level configure.ac:343: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:343: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:343: the top level configure.ac:348: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:348: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:348: the top level configure.ac:353: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:353: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:353: the top level configure.ac:358: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:358: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:358: the top level configure.ac:363: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:363: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:363: the top level configure.ac:367: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:367: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:367: the top level configure.ac:401: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:401: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:401: the top level configure.ac:423: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:423: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:423: the top level configure.ac:440: warning: AC_OUTPUT should be used without arguments. configure.ac:440: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:21: installing './compile' configure.ac:5: installing './missing' Makefile.am: installing './depcomp' Makefile.am:570: warning: variable 'unit_test_mesh_crypto_SOURCES' is defined but no program or Makefile.am:570: library has 'unit_test_mesh_crypto' as canonical name (possible typo) Makefile.am:572: warning: variable 'unit_test_mesh_crypto_LDADD' is defined but no program or Makefile.am:572: library has 'unit_test_mesh_crypto' as canonical name (possible typo) autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-alpine-linux-musl-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for C/C++ restrict keyword... __restrict__ checking for x86_64-alpine-linux-musl-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether gcc accepts -fPIE... yes checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/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 x86_64-alpine-linux-musl file names to x86_64-alpine-linux-musl format... func_convert_file_noop checking how to convert x86_64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for x86_64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking for x86_64-alpine-linux-musl-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 x86_64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes 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/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) 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 explicit_bzero... yes checking for rawmemchr... no checking for signalfd... yes checking for clock_gettime in -lrt... yes checking for pthread_create in -lpthread... yes checking for dlopen in -ldl... yes checking for linux/types.h... yes checking for linux/if_alg.h... yes checking for GLIB... yes checking for DBUS... yes checking D-Bus system bus services dir... /usr/share/dbus-1/system-services checking D-Bus session bus services dir... /usr/share/dbus-1/services ${prefix}/share/zsh/site-functions checking for UDEV... yes checking for udev_hwdb_new in -ludev... yes checking udev directory... /lib/udev checking for JSONC... yes checking for ICAL... yes checking for readline/readline.h... yes checking for rst2man... rst2man checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/bluetoothd.rst config.status: creating lib/bluez.pc config.status: creating mesh/bluetooth-meshd.rst config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands GEN lib/bluetooth/bluetooth.h GEN lib/bluetooth/hci.h GEN lib/bluetooth/hci_lib.h GEN lib/bluetooth/sco.h GEN lib/bluetooth/l2cap.h GEN lib/bluetooth/sdp.h GEN lib/bluetooth/sdp_lib.h GEN lib/bluetooth/rfcomm.h GEN lib/bluetooth/hidp.h GEN lib/bluetooth/cmtp.h GEN lib/bluetooth/bnep.h GEN ell/shared GEN ell/internal GEN ell/ell.h GEN src/builtin.h GEN obexd/src/builtin.h make --no-print-directory all-am CC src/shared/io-mainloop.lo CC src/shared/timeout-mainloop.lo CC src/shared/mainloop.lo CC src/shared/io-ell.lo CC src/shared/timeout-ell.lo CC src/shared/mainloop-ell.lo CC tools/mesh-cfgtest.o CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_ti.o CC tools/hciattach_tialt.o CC tools/hciattach_ath3k.o CC tools/hciattach_qualcomm.o CC tools/hciattach_intel.o CC tools/hciattach_bcm43xx.o CC tools/hciconfig.o CC tools/hcitool.o CC tools/hcidump.o CC tools/rfcomm.o CC tools/sdptool.o CC src/sdp-xml.o CC tools/ciptool.o CC tools/bdaddr.o CC tools/avinfo.o CC tools/avtest.o CC tools/scotest.o CC tools/amptest.o CC tools/hwdb.o CC tools/hcieventmask.o CC tools/hcisecfilter.o CC tools/btinfo.o CC tools/btconfig.o CC tools/btsnoop.o CC tools/btproxy.o CC tools/btiotest.o CC tools/bneptest.o CC src/log.o CC tools/mcaptest.o CC tools/cltest.o CC tools/oobtest.o CC tools/advtest.o CC tools/seq2bseq.o CC tools/nokfw.o CC tools/rtlfw.o CC tools/bcmfw.o CC tools/create-image.o CC tools/eddystone.o CC tools/ibeacon.o CC tools/btgatt-client.o CC src/uuid-helper.o CC tools/btgatt-server.o CC tools/test-runner.o CC tools/check-selftest.o CC tools/gatt-service.o CC tools/btmgmt.o CC tools/obex-client-tool.o CC tools/obex-server-tool.o CC tools/bluetooth-player.o CC tools/obexctl.o CC profiles/network/bluetoothd-manager.o CC profiles/network/bluetoothd-bnep.o CC profiles/network/bluetoothd-server.o CC profiles/network/bluetoothd-connection.o tools/gatt-service.c: In function 'desc_write': tools/gatt-service.c:130:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 130 | desc->value = g_memdup(value, len); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from tools/gatt-service.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ tools/gatt-service.c: In function 'chr_write': tools/gatt-service.c:268:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 268 | chr->value = g_memdup(value, len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from tools/gatt-service.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ tools/gatt-service.c: In function 'register_characteristic': tools/gatt-service.c:595:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 595 | chr->value = g_memdup(value, vlen); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from tools/gatt-service.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/input/bluetoothd-suspend-none.o CC profiles/scanparam/bluetoothd-scan.o CC profiles/deviceinfo/bluetoothd-deviceinfo.o CC profiles/battery/bluetoothd-battery.o CC attrib/bluetoothd-att.o CC attrib/bluetoothd-gatt.o CC attrib/bluetoothd-gattrib.o CC attrib/bluetoothd-gatt-service.o CC btio/bluetoothd-btio.o CC src/bluetoothd-main.o CC src/bluetoothd-log.o CC src/bluetoothd-backtrace.o CC src/bluetoothd-rfkill.o CC src/bluetoothd-sdpd-server.o CC src/bluetoothd-sdpd-request.o profiles/battery/battery.c: In function 'read_initial_battery_level_cb': profiles/battery/battery.c:162:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 162 | batt->initial_value = g_memdup(value, length); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/battery/battery.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ attrib/gatt.c: In function 'gatt_discover_char': attrib/gatt.c:699:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 699 | dc->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/bluetoothd-sdpd-service.o attrib/gatt.c: In function 'gatt_write_char': attrib/gatt.c:967:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 967 | long_write->value = g_memdup(value, vlen); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ attrib/gatt.c: In function 'gatt_discover_desc': attrib/gatt.c:1133:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1133 | dd->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/bluetoothd-sdpd-database.o CC src/bluetoothd-attrib-server.o CC src/bluetoothd-gatt-database.o CC src/bluetoothd-sdp-xml.o CC src/bluetoothd-sdp-client.o CC src/bluetoothd-textfile.o CC src/bluetoothd-uuid-helper.o CC src/bluetoothd-plugin.o CC src/bluetoothd-storage.o CC src/bluetoothd-advertising.o CC src/bluetoothd-agent.o CC src/bluetoothd-error.o CC src/bluetoothd-adapter.o CC src/bluetoothd-profile.o src/attrib-server.c: In function 'attrib_db_add_new': CC src/bluetoothd-service.o src/attrib-server.c:342:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 342 | a->data = g_memdup(value, len); | ^ In file included from /usr/include/glib-2.0/glib.h:82, from src/attrib-server.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/bluetoothd-gatt-client.o CC src/bluetoothd-device.o CC src/bluetoothd-dbus-common.o CC src/bluetoothd-eir.o CC src/bluetoothd-adv_monitor.o CC src/bluetoothd-battery.o GEN src/bluetooth.service CC btio/obexd-btio.o CC gobex/obexd-gobex.o CC gobex/obexd-gobex-defs.o CC gobex/obexd-gobex-packet.o CC gobex/obexd-gobex-header.o CC gobex/obexd-gobex-transfer.o CC gobex/obexd-gobex-apparam.o src/eir.c: In function 'eir_parse': src/eir.c:326:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 326 | eir->hash = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/eir.c:332:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 332 | eir->randomizer = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/client/obexd-manager.o CC obexd/client/obexd-session.o CC obexd/client/obexd-bluetooth.o gobex/gobex-header.c: In function 'g_obex_header_decode': gobex/gobex-header.c:225:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 225 | header->v.data = g_memdup(ptr, header->vlen); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ gobex/gobex-header.c: In function 'g_obex_header_new_bytes': gobex/gobex-header.c:413:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 413 | header->v.data = g_memdup(data, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ gobex/gobex-packet.c: In function 'g_obex_packet_set_data': gobex/gobex-packet.c:204:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 204 | pkt->data.buf = g_memdup(data, len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-defs.h:13, from gobex/gobex-packet.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/client/obexd-sync.o CC obexd/client/obexd-pbap.o CC obexd/client/obexd-ftp.o CC obexd/client/obexd-opp.o CC obexd/client/obexd-map.o CC obexd/client/obexd-map-event.o CC obexd/client/obexd-transfer.o CC obexd/client/obexd-transport.o CC obexd/client/obexd-driver.o CC mesh/mesh.o CC mesh/net-keys.o CC mesh/mesh-io.o CC mesh/mesh-mgmt.o CC mesh/mesh-io-generic.o CC mesh/mesh-io-unit.o CC mesh/net.o CC mesh/friend.o CC mesh/appkey.o CC mesh/node.o CC mesh/model.o CC mesh/cfgmod-server.o CC mesh/mesh-config-json.o CC mesh/dbus.o CC mesh/agent.o CC mesh/prov-acceptor.o CC mesh/prov-initiator.o CC mesh/manager.o CC mesh/pb-adv.o CC mesh/keyring.o CC mesh/rpl.o CC mesh/main.o GEN mesh/bluetooth-mesh.service CC tools/hid2hci.o CC plugins/sixaxis_la-sixaxis.lo GEN src/bluetoothd.8 GEN monitor/btmon.1 GEN tools/rctest.1 GEN tools/l2ping.1 GEN tools/btattach.1 GEN tools/hciattach.1 GEN tools/hciconfig.1 GEN tools/hcitool.1 GEN tools/hcidump.1 GEN tools/rfcomm.1 GEN tools/sdptool.1 GEN tools/ciptool.1 GEN tools/hid2hci.1 GEN mesh/bluetooth-meshd.8 GEN tools/97-hid2hci.rules CC client/main.o CC client/display.o CC client/agent.o CC client/advertising.o CC client/adv_monitor.o CC client/gatt.o CC client/admin.o CC gdbus/mainloop.lo CC gdbus/watch.lo CC gdbus/object.lo CC gdbus/client.lo CC gdbus/polkit.lo CC src/shared/queue.lo CC src/shared/util.lo CC src/shared/mgmt.lo CC src/shared/crypto.lo CC src/shared/ecc.lo CC src/shared/ringbuf.lo client/gatt.c: In function 'str2bytearray': client/gatt.c:793:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 793 | return g_memdup(value, i); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from client/gatt.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/shared/hci.lo CC src/shared/hci-crypto.lo CC src/shared/hfp.lo CC src/shared/uhid.lo CC src/shared/pcap.lo CC src/shared/btsnoop.lo CC src/shared/ad.lo CC src/shared/att.lo CC src/shared/gatt-helpers.lo CC src/shared/gatt-client.lo CC src/shared/gatt-server.lo CC src/shared/gatt-db.lo CC src/shared/gap.lo CC src/shared/log.lo CC src/shared/shell.lo CC src/shared/io-glib.lo CC src/shared/timeout-glib.lo CC src/shared/mainloop-glib.lo CC src/shared/mainloop-notify.lo CC src/shared/tester.lo CC monitor/main.o CC monitor/display.o CC monitor/hcidump.o CC monitor/ellisys.o CC monitor/control.o CC monitor/packet.o CC monitor/vendor.o CC monitor/lmp.o CC monitor/crc.o CC monitor/ll.o CC monitor/l2cap.o CC monitor/sdp.o CC monitor/avctp.o CC monitor/avdtp.o CC monitor/a2dp.o CC monitor/rfcomm.o CC monitor/bnep.o CC monitor/hwdb.o CC monitor/keys.o CC monitor/analyze.o CC monitor/intel.o CC monitor/broadcom.o CC monitor/msft.o CC monitor/jlink.o CC lib/bluetooth.lo CC lib/hci.lo CC lib/sdp.lo CC lib/uuid.lo CC tools/rctest.o CC tools/l2test.o CC tools/l2ping.o CC tools/bluemoon.o CC tools/hex2hcd.o CC tools/mpris-proxy.o CC tools/btattach.o CC tools/meshctl.o CC tools/mesh/agent.o CC tools/mesh-gatt/node.o CC tools/mesh-gatt/gatt.o CC tools/mesh-gatt/crypto.o CC tools/mesh-gatt/net.o CC tools/mesh-gatt/prov.o CC tools/mesh-gatt/util.o CC tools/mesh-gatt/prov-db.o tools/mesh-gatt/gatt.c: In function 'mesh_gatt_write': tools/mesh-gatt/gatt.c:341:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 341 | data->gatt_data = g_memdup(buf, len); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from tools/mesh-gatt/gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC tools/mesh-gatt/config-client.o CC tools/mesh-gatt/config-server.o CC tools/mesh-gatt/onoff-model.o CC tools/mesh-cfgclient.o CC tools/mesh/cfgcli.o CC tools/mesh/keys.o CC tools/mesh/util.o CC tools/mesh/remote.o CC tools/mesh/mesh-db.o CC mesh/util.o CC mesh/crypto.o CCLD src/libshared-ell.la CC ell/util.lo CC ell/log.lo CC ell/queue.lo CC ell/hashmap.lo CC ell/random.lo CC ell/signal.lo CC ell/time.lo CC ell/timeout.lo CC ell/io.lo CC ell/idle.lo CC ell/main.lo CC ell/settings.lo CC ell/strv.lo CC ell/string.lo CC ell/cipher.lo CC ell/checksum.lo CC ell/pem.lo CC ell/cert.lo CC ell/cert-crypto.lo CC ell/key.lo CC ell/base64.lo CC ell/utf8.lo CC ell/dbus.lo CC ell/dbus-message.lo CC ell/dbus-util.lo CC ell/dbus-service.lo CC ell/dbus-client.lo CC ell/dbus-name-cache.lo CC ell/dbus-filter.lo CC ell/gvariant-util.lo ar: `u' modifier ignored since `D' is the default (see `U') CC ell/siphash.lo CC ell/uuid.lo CC ell/tester.lo CC ell/tls.lo CC ell/tls-extensions.lo CC ell/tls-suites.lo CC ell/tls-record.lo CC ell/ecc.lo CC ell/ecc-external.lo CC ell/ecdh.lo CC src/oui.o CC tools/parser/parser.o CC tools/parser/lmp.o CC tools/parser/hci.o CC tools/parser/l2cap.o CC tools/parser/amp.o CC tools/parser/smp.o CC tools/parser/att.o CC tools/parser/sdp.o CC tools/parser/rfcomm.o CC tools/parser/bnep.o CC tools/parser/cmtp.o CC tools/parser/hidp.o CC tools/parser/hcrp.o CC tools/parser/avdtp.o CC tools/parser/avctp.o CC tools/parser/avrcp.o CC tools/parser/sap.o CC tools/parser/obex.o CC tools/parser/capi.o CC tools/parser/ppp.o CC tools/parser/tcpip.o CC tools/parser/ericsson.o CC tools/parser/csr.o CC tools/parser/bpa.o CC profiles/cups/main.o CC profiles/cups/sdp.o CC profiles/cups/spp.o CC profiles/cups/hcrp.o CCLD tools/hcisecfilter CC btio/btio.o CC profiles/network/bnep.o CC profiles/health/mcap.o CCLD tools/seq2bseq CCLD tools/nokfw CCLD tools/rtlfw CCLD tools/bcmfw CCLD tools/create-image CCLD tools/test-runner CCLD tools/check-selftest CC profiles/iap/main.o CC gobex/gobex.o CC gobex/gobex-defs.o CC gobex/gobex-packet.o CC gobex/gobex-header.o CC gobex/gobex-transfer.o CC gobex/gobex-apparam.o CC attrib/gatttool.o CC attrib/att.o CC attrib/gatt.o gobex/gobex-packet.c: In function 'g_obex_packet_set_data': CC attrib/gattrib.o gobex/gobex-packet.c:204:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 204 | pkt->data.buf = g_memdup(data, len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-defs.h:13, from gobex/gobex-packet.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC attrib/interactive.o CC attrib/utils.o gobex/gobex-header.c: In function 'g_obex_header_decode': gobex/gobex-header.c:225:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 225 | header->v.data = g_memdup(ptr, header->vlen); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ gobex/gobex-header.c: In function 'g_obex_header_new_bytes': gobex/gobex-header.c:413:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 413 | header->v.data = g_memdup(data, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC plugins/bluetoothd-hostname.o CC plugins/bluetoothd-wiimote.o CC plugins/bluetoothd-autopair.o CC plugins/bluetoothd-policy.o CC profiles/audio/bluetoothd-source.o CC profiles/audio/bluetoothd-sink.o CC profiles/audio/bluetoothd-a2dp.o CC profiles/audio/bluetoothd-avdtp.o CC profiles/audio/bluetoothd-media.o CC profiles/audio/bluetoothd-transport.o attrib/gatt.c: In function 'gatt_discover_char': attrib/gatt.c:699:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 699 | dc->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ attrib/gatt.c: In function 'gatt_write_char': attrib/gatt.c:967:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 967 | long_write->value = g_memdup(value, vlen); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ attrib/gatt.c: In function 'gatt_discover_desc': attrib/gatt.c:1133:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1133 | dd->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ plugins/policy.c: In function 'policy_init': plugins/policy.c:858:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 858 | reconnect_intervals = g_memdup(default_intervals, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from plugins/policy.c:20: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/audio/bluetoothd-control.o plugins/policy.c:889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 889 | reconnect_intervals = g_memdup(default_intervals, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from plugins/policy.c:20: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/audio/bluetoothd-avctp.o CC profiles/audio/bluetoothd-avrcp.o CC profiles/audio/bluetoothd-player.o CC profiles/input/bluetoothd-manager.o CC profiles/input/bluetoothd-server.o CC profiles/input/bluetoothd-device.o CC profiles/input/bluetoothd-hog.o CC profiles/input/bluetoothd-hog-lib.o CC profiles/deviceinfo/bluetoothd-dis.o CC profiles/battery/bluetoothd-bas.o CC profiles/scanparam/bluetoothd-scpp.o CC profiles/gap/bluetoothd-gas.o CC obexd/plugins/obexd-filesystem.o profiles/audio/avctp.c: In function 'avctp_send_req': profiles/audio/avctp.c:1730:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1730 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avctp.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avctp.c: In function 'avctp_send_browsing_req': profiles/audio/avctp.c:1768:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1768 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avctp.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/plugins/obexd-bluetooth.o profiles/input/hog-lib.c: In function 'report_read_cb': profiles/input/hog-lib.c:532:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 532 | report->value = g_memdup(pdu, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_handle_get_current_player_value': profiles/audio/avrcp.c:1301:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1301 | settings = g_memdup(&pdu->params[1], pdu->params[0]); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_hog': profiles/input/hog-lib.c:1612:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1612 | hog->primary = g_memdup(primary, sizeof(*primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:1626:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1626 | instance->primary = g_memdup(primary, sizeof(*primary)); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/battery/bas.c: In function 'bt_bas_new': profiles/battery/bas.c:78:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 78 | bas->primary = g_memdup(primary, sizeof(*bas->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/battery/bas.c:18: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_set_browsed_player_rsp': profiles/audio/avrcp.c:2804:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2804 | folders[count] = g_memdup(&pdu->params[i], len); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_player_parse_features': profiles/audio/avrcp.c:2891:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2891 | player->features = g_memdup(features, 16); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/scanparam/scpp.c: In function 'bt_scpp_new': profiles/scanparam/scpp.c:113:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 113 | scan->primary = g_memdup(primary, sizeof(*scan->primary)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/scanparam/scpp.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/plugins/obexd-opp.o profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': profiles/deviceinfo/dis.c:146:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 146 | dis->primary = g_memdup(primary, sizeof(*dis->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/deviceinfo/dis.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/plugins/obexd-ftp.o CC obexd/plugins/obexd-irmc.o CC obexd/plugins/obexd-pbap.o CC obexd/plugins/obexd-vcard.o CC obexd/plugins/obexd-phonebook-dummy.o CC obexd/plugins/obexd-mas.o CC obexd/plugins/obexd-messages-dummy.o CC obexd/client/obexd-mns.o CC obexd/src/obexd-main.o CC obexd/src/obexd-plugin.o CC obexd/src/obexd-log.o CC obexd/src/obexd-manager.o CC obexd/src/obexd-obex.o CC obexd/src/obexd-mimetype.o CC obexd/src/obexd-service.o CC obexd/src/obexd-transport.o CC obexd/src/obexd-server.o CCLD tools/hid2hci CCLD lib/libbluetooth.la CCLD plugins/sixaxis.la obexd/src/obex.c: In function 'parse_apparam': obexd/src/obex.c:597:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 597 | os->apparam = g_memdup(apparam, len); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from obexd/src/obex.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD gdbus/libgdbus-internal.la CCLD src/libshared-glib.la CCLD lib/libbluetooth-internal.la CCLD src/libshared-mainloop.la CCLD tools/hex2hcd CCLD ell/libell-internal.la ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/rctest CCLD tools/l2test CCLD tools/l2ping CCLD tools/mpris-proxy CCLD tools/hciattach CCLD tools/hciconfig CCLD tools/hcitool CCLD tools/hcidump CCLD tools/rfcomm CCLD tools/sdptool CCLD tools/ciptool CCLD profiles/cups/bluetooth CCLD tools/bdaddr CCLD tools/avinfo CCLD tools/avtest CCLD tools/scotest CCLD tools/amptest CCLD tools/hwdb CCLD tools/hcieventmask CCLD tools/btiotest CCLD tools/gatt-service CCLD profiles/iap/iapd CCLD tools/obex-client-tool CCLD tools/obex-server-tool ar: `u' modifier ignored since `D' is the default (see `U') CCLD obexd/src/obexd ar: `u' modifier ignored since `D' is the default (see `U') CCLD client/bluetoothctl CCLD tools/meshctl CCLD tools/bluetooth-player CCLD tools/obexctl CCLD attrib/gatttool CCLD tools/bluemoon CCLD tools/btattach CCLD tools/btinfo CCLD tools/btconfig CCLD tools/btsnoop CCLD tools/btproxy CCLD tools/bneptest CCLD tools/mcaptest CCLD tools/cltest CCLD tools/oobtest CCLD tools/advtest CCLD tools/eddystone CCLD tools/ibeacon CCLD tools/btgatt-client CCLD tools/btgatt-server CCLD tools/btmgmt ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/mesh-cfgclient CCLD tools/mesh-cfgtest CCLD mesh/bluetooth-meshd CCLD src/bluetoothd CCLD monitor/btmon make --no-print-directory check-am make --no-print-directory check-TESTS CC src/eir.o CC src/textfile.o CC unit/test-crc.o CC unit/test-crypto.o CC unit/test-ecc.o CC unit/test-ringbuf.o CC unit/test-queue.o CC unit/test-mgmt.o CC unit/test-uhid.o CC unit/test-sdp.o CC src/sdpd-database.o CC src/sdpd-service.o CC src/sdpd-request.o CC unit/test-avdtp.o CC unit/test-avctp.o CC unit/test-avrcp.o CC unit/test-hfp.o CC unit/test-gdbus-client.o CC unit/util.o CC unit/test-gobex-header.o CC unit/test-gobex-packet.o CC unit/test-gobex.o CC unit/test-gobex-transfer.o CC unit/test-gobex-apparam.o unit/test-avdtp.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:778:2: note: in expansion of macro 'define_test' 778 | define_test("/TP/SIG/SMG/BV-06-C-SEID-1", test_server_seid, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:778:2: note: in expansion of macro 'define_test' 778 | define_test("/TP/SIG/SMG/BV-06-C-SEID-1", test_server_seid, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:780:2: note: in expansion of macro 'define_test' 780 | define_test("/TP/SIG/SMG/BV-06-C-SEID-2", test_server_seid_duplicate, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:780:2: note: in expansion of macro 'define_test' 780 | define_test("/TP/SIG/SMG/BV-06-C-SEID-2", test_server_seid_duplicate, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:780:2: note: in expansion of macro 'define_test' 780 | define_test("/TP/SIG/SMG/BV-06-C-SEID-2", test_server_seid_duplicate, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:783:2: note: in expansion of macro 'define_test' 783 | define_test("/TP/SIG/SMG/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:783:2: note: in expansion of macro 'define_test' 783 | define_test("/TP/SIG/SMG/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:785:2: note: in expansion of macro 'define_test' 785 | define_test("/TP/SIG/SMG/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:785:2: note: in expansion of macro 'define_test' 785 | define_test("/TP/SIG/SMG/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:785:2: note: in expansion of macro 'define_test' 785 | define_test("/TP/SIG/SMG/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:807:2: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/eir.c: In function 'eir_parse': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/eir.c:326:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 326 | eir->hash = g_memdup(data, 16); | ^~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/eir.c:332:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 332 | eir->randomizer = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:2: note: in expansion of macro 'define_test' 967 | define_test("/TP/SIG/SMG/BV-26-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:2: note: in expansion of macro 'define_test' 967 | define_test("/TP/SIG/SMG/BV-26-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:2: note: in expansion of macro 'define_test' 967 | define_test("/TP/SIG/SMG/BV-26-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:2: note: in expansion of macro 'define_test' 967 | define_test("/TP/SIG/SMG/BV-26-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:967:2: note: in expansion of macro 'define_test' 967 | define_test("/TP/SIG/SMG/BV-26-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:2: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:2: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:2: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:2: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:973:2: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:2: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:2: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:2: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:2: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:2: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:987:2: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:997:2: note: in expansion of macro 'define_test' 997 | define_test("/TP/SIG/SMG/BI-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:997:2: note: in expansion of macro 'define_test' 997 | define_test("/TP/SIG/SMG/BI-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:997:2: note: in expansion of macro 'define_test' 997 | define_test("/TP/SIG/SMG/BI-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1000:2: note: in expansion of macro 'define_test' 1000 | define_test("/TP/SIG/SMG/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1000:2: note: in expansion of macro 'define_test' 1000 | define_test("/TP/SIG/SMG/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1002:2: note: in expansion of macro 'define_test' 1002 | define_test("/TP/SIG/SMG/BI-03-C", test_server_0_sep, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1002:2: note: in expansion of macro 'define_test' 1002 | define_test("/TP/SIG/SMG/BI-03-C", test_server_0_sep, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1002:2: note: in expansion of macro 'define_test' 1002 | define_test("/TP/SIG/SMG/BI-03-C", test_server_0_sep, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:2: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:2: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:2: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:2: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1010:2: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1020:2: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:272:2: note: in expansion of macro 'define_test' 272 | define_test("/TP/CCM/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:272:2: note: in expansion of macro 'define_test' 272 | define_test("/TP/CCM/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:273:2: note: in expansion of macro 'define_test' 273 | define_test("/TP/CCM/BV-02-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:273:2: note: in expansion of macro 'define_test' 273 | define_test("/TP/CCM/BV-02-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:274:2: note: in expansion of macro 'define_test' 274 | define_test("/TP/CCM/BV-03-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:274:2: note: in expansion of macro 'define_test' 274 | define_test("/TP/CCM/BV-03-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:275:2: note: in expansion of macro 'define_test' 275 | define_test("/TP/CCM/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:275:2: note: in expansion of macro 'define_test' 275 | define_test("/TP/CCM/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:279:2: note: in expansion of macro 'define_test' 279 | define_test("/TP/NFR/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:279:2: note: in expansion of macro 'define_test' 279 | define_test("/TP/NFR/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/TP/NFR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/TP/NFR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/TP/NFR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:286:2: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:286:2: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:286:2: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:290:2: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:290:2: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:290:2: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:294:2: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:294:2: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:294:2: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-lib.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-gatt.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-hog.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/input/hog-lib.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c: In function 'main': unit/test-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:276:2: note: in expansion of macro 'define_test' 276 | define_test("/uhid/command/create", test_client, event(&ev_create)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:277:2: note: in expansion of macro 'define_test' 277 | define_test("/uhid/command/destroy", test_client, event(&ev_destroy)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:278:2: note: in expansion of macro 'define_test' 278 | define_test("/uhid/command/feature_answer", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:280:2: note: in expansion of macro 'define_test' 280 | define_test("/uhid/command/input", test_client, event(&ev_input)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/uhid/event/output", test_server, event(&ev_output)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c: In function 'main': In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:283:2: note: in expansion of macro 'define_test' 283 | define_test("/uhid/event/feature", test_server, event(&ev_feature)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:686:2: note: in expansion of macro 'define_test' 686 | define_test("/hfp/test_init", test_init, NULL, data_end()); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:687:2: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:687:2: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:687:2: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:691:2: note: in expansion of macro 'define_test' 691 | define_test("/hfp/test_cmd_handler_2", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:691:2: note: in expansion of macro 'define_test' 691 | define_test("/hfp/test_cmd_handler_2", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:691:2: note: in expansion of macro 'define_test' 691 | define_test("/hfp/test_cmd_handler_2", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:695:2: note: in expansion of macro 'define_test' 695 | define_test("/hfp/test_register_1", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:695:2: note: in expansion of macro 'define_test' 695 | define_test("/hfp/test_register_1", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:695:2: note: in expansion of macro 'define_test' 695 | define_test("/hfp/test_register_1", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:695:2: note: in expansion of macro 'define_test' 695 | define_test("/hfp/test_register_1", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:2: note: in expansion of macro 'define_test' 700 | define_test("/hfp/test_register_2", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:2: note: in expansion of macro 'define_test' 700 | define_test("/hfp/test_register_2", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:2: note: in expansion of macro 'define_test' 700 | define_test("/hfp/test_register_2", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:700:2: note: in expansion of macro 'define_test' 700 | define_test("/hfp/test_register_2", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:2: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:2: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:2: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:705:2: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:710:2: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:710:2: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:710:2: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:710:2: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:2: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:2: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:2: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:716:2: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:721:2: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:725:2: note: in expansion of macro 'define_test' 725 | define_test("/hfp/test_ustring_1", test_register, check_ustring_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:725:2: note: in expansion of macro 'define_test' 725 | define_test("/hfp/test_ustring_1", test_register, check_ustring_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:725:2: note: in expansion of macro 'define_test' 725 | define_test("/hfp/test_ustring_1", test_register, check_ustring_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:725:2: note: in expansion of macro 'define_test' 725 | define_test("/hfp/test_ustring_1", test_register, check_ustring_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:2: note: in expansion of macro 'define_test' 730 | define_test("/hfp/test_ustring_2", test_register, check_ustring_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:2: note: in expansion of macro 'define_test' 730 | define_test("/hfp/test_ustring_2", test_register, check_ustring_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:2: note: in expansion of macro 'define_test' 730 | define_test("/hfp/test_ustring_2", test_register, check_ustring_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:730:2: note: in expansion of macro 'define_test' 730 | define_test("/hfp/test_ustring_2", test_register, check_ustring_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:735:2: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:735:2: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:735:2: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:735:2: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:2: note: in expansion of macro 'define_test' 741 | define_test("/hfp/test_string_2", test_register, check_string_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:2: note: in expansion of macro 'define_test' 741 | define_test("/hfp/test_string_2", test_register, check_string_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:2: note: in expansion of macro 'define_test' 741 | define_test("/hfp/test_string_2", test_register, check_string_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:741:2: note: in expansion of macro 'define_test' 741 | define_test("/hfp/test_string_2", test_register, check_string_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:770:2: note: in expansion of macro 'define_ss' 770 | define_ss("BV-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:2: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:2: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:770:2: note: in expansion of macro 'define_ss' 770 | define_ss("BV-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:2: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:770:2: note: in expansion of macro 'define_ss' 770 | define_ss("BV-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: In function 'main': unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:747:2: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:998:2: note: in expansion of macro 'define_test' 998 | define_test("/TP/MPS/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:753:2: note: in expansion of macro 'define_test' 753 | define_test("/hfp/test_empty", test_send_and_close, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:775:2: note: in expansion of macro 'define_ss' 775 | define_ss("BV-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:753:2: note: in expansion of macro 'define_test' 753 | define_test("/hfp/test_empty", test_send_and_close, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:998:2: note: in expansion of macro 'define_test' 998 | define_test("/TP/MPS/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:775:2: note: in expansion of macro 'define_ss' 775 | define_ss("BV-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:756:2: note: in expansion of macro 'define_hf_test' 756 | define_hf_test("/hfp_hf/test_init", test_hf_init, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:775:2: note: in expansion of macro 'define_ss' 775 | define_ss("BV-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1004:2: note: in expansion of macro 'define_test' 1004 | define_test("/TP/MPS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:758:2: note: in expansion of macro 'define_hf_test' 758 | define_hf_test("/hfp_hf/test_send_command_1", test_hf_send_command, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1004:2: note: in expansion of macro 'define_test' 1004 | define_test("/TP/MPS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:758:2: note: in expansion of macro 'define_hf_test' 758 | define_hf_test("/hfp_hf/test_send_command_1", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:780:2: note: in expansion of macro 'define_ss' 780 | define_ss("BV-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:758:2: note: in expansion of macro 'define_hf_test' 758 | define_hf_test("/hfp_hf/test_send_command_1", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1004:2: note: in expansion of macro 'define_test' 1004 | define_test("/TP/MPS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:780:2: note: in expansion of macro 'define_ss' 780 | define_ss("BV-01-C/UUID-128", | ^~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1014:2: note: in expansion of macro 'define_test' 1014 | define_test("/TP/MPS/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1014:2: note: in expansion of macro 'define_test' 1014 | define_test("/TP/MPS/BV-03-C", test_client, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:780:2: note: in expansion of macro 'define_ss' 780 | define_ss("BV-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1019:2: note: in expansion of macro 'define_test' 1019 | define_test("/TP/MPS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1019:2: note: in expansion of macro 'define_test' 1019 | define_test("/TP/MPS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:794:2: note: in expansion of macro 'define_ss' 794 | define_ss("BV-03-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1019:2: note: in expansion of macro 'define_test' 1019 | define_test("/TP/MPS/BV-04-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:794:2: note: in expansion of macro 'define_ss' 794 | define_ss("BV-03-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:2: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:2: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:794:2: note: in expansion of macro 'define_ss' 794 | define_ss("BV-03-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:2: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:794:2: note: in expansion of macro 'define_ss' 794 | define_ss("BV-03-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:774:2: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:794:2: note: in expansion of macro 'define_ss' 794 | define_ss("BV-03-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:2: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:2: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:2: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:806:2: note: in expansion of macro 'define_ss' 806 | define_ss("BV-03-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:782:2: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1044:2: note: in expansion of macro 'define_test' 1044 | define_test("/TP/MPS/BV-06-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:806:2: note: in expansion of macro 'define_ss' 806 | define_ss("BV-03-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:2: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1044:2: note: in expansion of macro 'define_test' 1044 | define_test("/TP/MPS/BV-06-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:2: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1044:2: note: in expansion of macro 'define_test' 1044 | define_test("/TP/MPS/BV-06-C", test_client, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:806:2: note: in expansion of macro 'define_ss' 806 | define_ss("BV-03-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:2: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:789:2: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:806:2: note: in expansion of macro 'define_ss' 806 | define_ss("BV-03-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:2: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:806:2: note: in expansion of macro 'define_ss' 806 | define_ss("BV-03-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:2: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:2: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1054:2: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1067:2: note: in expansion of macro 'define_test' 1067 | define_test("/TP/MPS/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1067:2: note: in expansion of macro 'define_test' 1067 | define_test("/TP/MPS/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1075:2: note: in expansion of macro 'define_test' 1075 | define_test("/TP/MPS/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1075:2: note: in expansion of macro 'define_test' 1075 | define_test("/TP/MPS/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1075:2: note: in expansion of macro 'define_test' 1075 | define_test("/TP/MPS/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:841:2: note: in expansion of macro 'define_ss' 841 | define_ss("BV-04-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1085:2: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:841:2: note: in expansion of macro 'define_ss' 841 | define_ss("BV-04-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1085:2: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:841:2: note: in expansion of macro 'define_ss' 841 | define_ss("BV-04-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1085:2: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:846:2: note: in expansion of macro 'define_ss' 846 | define_ss("BV-04-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1095:2: note: in expansion of macro 'define_test' 1095 | define_test("/TP/MPS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1095:2: note: in expansion of macro 'define_test' 1095 | define_test("/TP/MPS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:846:2: note: in expansion of macro 'define_ss' 846 | define_ss("BV-04-C/UUID-128", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1095:2: note: in expansion of macro 'define_test' 1095 | define_test("/TP/MPS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:846:2: note: in expansion of macro 'define_ss' 846 | define_ss("BV-04-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1107:2: note: in expansion of macro 'define_test' 1107 | define_test("/TP/MCN/CB/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:814:2: note: in expansion of macro 'define_hf_test' 814 | define_hf_test("/hfp_hf/test_corrupted_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:853:2: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:814:2: note: in expansion of macro 'define_hf_test' 814 | define_hf_test("/hfp_hf/test_corrupted_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1107:2: note: in expansion of macro 'define_test' 1107 | define_test("/TP/MCN/CB/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:853:2: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:814:2: note: in expansion of macro 'define_hf_test' 814 | define_hf_test("/hfp_hf/test_corrupted_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:853:2: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:820:2: note: in expansion of macro 'define_hf_test' 820 | define_hf_test("/hfp_hf/test_empty", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1210:2: note: in expansion of macro 'define_test' 1210 | define_test("/TP/SIG/SMG/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/MCN/CB/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1210:2: note: in expansion of macro 'define_test' 1210 | define_test("/TP/SIG/SMG/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:820:2: note: in expansion of macro 'define_hf_test' 820 | define_hf_test("/hfp_hf/test_empty", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1210:2: note: in expansion of macro 'define_test' 1210 | define_test("/TP/SIG/SMG/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:865:2: note: in expansion of macro 'define_ss' 865 | define_ss("BI-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/MCN/CB/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:823:2: note: in expansion of macro 'define_hf_test' 823 | define_hf_test("/hfp_hf/test_unknown", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:865:2: note: in expansion of macro 'define_ss' 865 | define_ss("BI-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/MCN/CB/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:823:2: note: in expansion of macro 'define_hf_test' 823 | define_hf_test("/hfp_hf/test_unknown", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:865:2: note: in expansion of macro 'define_ss' 865 | define_ss("BI-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:869:2: note: in expansion of macro 'define_ss' 869 | define_ss("BI-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:869:2: note: in expansion of macro 'define_ss' 869 | define_ss("BI-01-C/UUID-32", | ^~~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:869:2: note: in expansion of macro 'define_ss' 869 | define_ss("BI-01-C/UUID-32", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1221:2: note: in expansion of macro 'define_test' 1221 | define_test("/TP/SIG/SMG/ESR04/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1221:2: note: in expansion of macro 'define_test' 1221 | define_test("/TP/SIG/SMG/ESR04/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1221:2: note: in expansion of macro 'define_test' 1221 | define_test("/TP/SIG/SMG/ESR04/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:873:2: note: in expansion of macro 'define_ss' 873 | define_ss("BI-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:873:2: note: in expansion of macro 'define_ss' 873 | define_ss("BI-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:873:2: note: in expansion of macro 'define_ss' 873 | define_ss("BI-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:838:2: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:886:2: note: in expansion of macro 'define_ss' 886 | define_ss("BI-02-C/UUID-16", | ^~~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:838:2: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1149:2: note: in expansion of macro 'define_test' 1149 | define_test("/TP/MCN/CB/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:838:2: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:886:2: note: in expansion of macro 'define_ss' 886 | define_ss("BI-02-C/UUID-16", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1149:2: note: in expansion of macro 'define_test' 1149 | define_test("/TP/MCN/CB/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:886:2: note: in expansion of macro 'define_ss' 886 | define_ss("BI-02-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:838:2: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1158:2: note: in expansion of macro 'define_test' 1158 | define_test("/TP/MCN/CB/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:890:2: note: in expansion of macro 'define_ss' 890 | define_ss("BI-02-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:2: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1158:2: note: in expansion of macro 'define_test' 1158 | define_test("/TP/MCN/CB/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:2: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:890:2: note: in expansion of macro 'define_ss' 890 | define_ss("BI-02-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:2: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1158:2: note: in expansion of macro 'define_test' 1158 | define_test("/TP/MCN/CB/BV-05-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:890:2: note: in expansion of macro 'define_ss' 890 | define_ss("BI-02-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:845:2: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1169:2: note: in expansion of macro 'define_test' 1169 | define_test("/TP/MCN/CB/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:894:2: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1169:2: note: in expansion of macro 'define_test' 1169 | define_test("/TP/MCN/CB/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:894:2: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1169:2: note: in expansion of macro 'define_test' 1169 | define_test("/TP/MCN/CB/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:894:2: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1180:2: note: in expansion of macro 'define_test' 1180 | define_test("/TP/MCN/CB/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1180:2: note: in expansion of macro 'define_test' 1180 | define_test("/TP/MCN/CB/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1189:2: note: in expansion of macro 'define_test' 1189 | define_test("/TP/MCN/CB/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1189:2: note: in expansion of macro 'define_test' 1189 | define_test("/TP/MCN/CB/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1189:2: note: in expansion of macro 'define_test' 1189 | define_test("/TP/MCN/CB/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1200:2: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1200:2: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1200:2: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1211:2: note: in expansion of macro 'define_test' 1211 | define_test("/TP/MCN/CB/BV-10-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1211:2: note: in expansion of macro 'define_test' 1211 | define_test("/TP/MCN/CB/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1211:2: note: in expansion of macro 'define_test' 1211 | define_test("/TP/MCN/CB/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:2: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:2: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:2: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:2: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1308:2: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1237:2: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:2: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:2: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1237:2: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:2: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1237:2: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:2: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:2: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1247:2: note: in expansion of macro 'define_test' 1247 | define_test("/TP/MCN/CB/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1314:2: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1247:2: note: in expansion of macro 'define_test' 1247 | define_test("/TP/MCN/CB/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1247:2: note: in expansion of macro 'define_test' 1247 | define_test("/TP/MCN/CB/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:974:2: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1257:2: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:974:2: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:974:2: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1257:2: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:974:2: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1257:2: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:974:2: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1267:2: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:995:2: note: in expansion of macro 'define_sa' 995 | define_sa("BV-06-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1267:2: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:995:2: note: in expansion of macro 'define_sa' 995 | define_sa("BV-06-C", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1267:2: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:995:2: note: in expansion of macro 'define_sa' 995 | define_sa("BV-06-C", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:995:2: note: in expansion of macro 'define_sa' 995 | define_sa("BV-06-C", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:995:2: note: in expansion of macro 'define_sa' 995 | define_sa("BV-06-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1015:2: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1015:2: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1015:2: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1015:2: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1015:2: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/scanparam/scpp.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1303:2: note: in expansion of macro 'define_test' 1303 | define_test("/TP/MCN/SRC/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1303:2: note: in expansion of macro 'define_test' 1303 | define_test("/TP/MCN/SRC/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1309:2: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1309:2: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1309:2: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1320:2: note: in expansion of macro 'define_test' 1320 | define_test("/TP/MCN/SRC/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1320:2: note: in expansion of macro 'define_test' 1320 | define_test("/TP/MCN/SRC/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1328:2: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1328:2: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1328:2: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1338:2: note: in expansion of macro 'define_test' 1338 | define_test("/TP/MCN/SRC/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1338:2: note: in expansion of macro 'define_test' 1338 | define_test("/TP/MCN/SRC/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1347:2: note: in expansion of macro 'define_test' 1347 | define_test("/TP/MCN/SRC/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1347:2: note: in expansion of macro 'define_test' 1347 | define_test("/TP/MCN/SRC/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1347:2: note: in expansion of macro 'define_test' 1347 | define_test("/TP/MCN/SRC/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1360:2: note: in expansion of macro 'define_test' 1360 | define_test("/TP/MCN/NP/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1360:2: note: in expansion of macro 'define_test' 1360 | define_test("/TP/MCN/NP/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1367:2: note: in expansion of macro 'define_test' 1367 | define_test("/TP/MCN/NP/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1367:2: note: in expansion of macro 'define_test' 1367 | define_test("/TP/MCN/NP/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1367:2: note: in expansion of macro 'define_test' 1367 | define_test("/TP/MCN/NP/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1376:2: note: in expansion of macro 'define_test' 1376 | define_test("/TP/MCN/NP/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1376:2: note: in expansion of macro 'define_test' 1376 | define_test("/TP/MCN/NP/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1143:2: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1384:2: note: in expansion of macro 'define_test' 1384 | define_test("/TP/MCN/NP/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1384:2: note: in expansion of macro 'define_test' 1384 | define_test("/TP/MCN/NP/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1384:2: note: in expansion of macro 'define_test' 1384 | define_test("/TP/MCN/NP/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1394:2: note: in expansion of macro 'define_test' 1394 | define_test("/TP/MCN/NP/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1394:2: note: in expansion of macro 'define_test' 1394 | define_test("/TP/MCN/NP/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1402:2: note: in expansion of macro 'define_test' 1402 | define_test("/TP/MCN/NP/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1402:2: note: in expansion of macro 'define_test' 1402 | define_test("/TP/MCN/NP/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1402:2: note: in expansion of macro 'define_test' 1402 | define_test("/TP/MCN/NP/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1412:2: note: in expansion of macro 'define_test' 1412 | define_test("/TP/MCN/NP/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1412:2: note: in expansion of macro 'define_test' 1412 | define_test("/TP/MCN/NP/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1215:2: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1412:2: note: in expansion of macro 'define_test' 1412 | define_test("/TP/MCN/NP/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1215:2: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1412:2: note: in expansion of macro 'define_test' 1412 | define_test("/TP/MCN/NP/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1215:2: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1215:2: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1425:2: note: in expansion of macro 'define_test' 1425 | define_test("/TP/MCN/NP/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1215:2: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1425:2: note: in expansion of macro 'define_test' 1425 | define_test("/TP/MCN/NP/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/battery/bas.o unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1434:2: note: in expansion of macro 'define_test' 1434 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1434:2: note: in expansion of macro 'define_test' 1434 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1434:2: note: in expansion of macro 'define_test' 1434 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1445:2: note: in expansion of macro 'define_test' 1445 | define_test("/TP/MCN/NP/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1255:2: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1255:2: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1445:2: note: in expansion of macro 'define_test' 1445 | define_test("/TP/MCN/NP/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC profiles/deviceinfo/dis.o unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1255:2: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1445:2: note: in expansion of macro 'define_test' 1445 | define_test("/TP/MCN/NP/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1255:2: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1255:2: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1455:2: note: in expansion of macro 'define_test' 1455 | define_test("/TP/MCN/NP/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1455:2: note: in expansion of macro 'define_test' 1455 | define_test("/TP/MCN/NP/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1455:2: note: in expansion of macro 'define_test' 1455 | define_test("/TP/MCN/NP/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1467:2: note: in expansion of macro 'define_test' 1467 | define_test("/TP/MPS/BV-01-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1467:2: note: in expansion of macro 'define_test' 1467 | define_test("/TP/MPS/BV-01-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1481:2: note: in expansion of macro 'define_test' 1481 | define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1481:2: note: in expansion of macro 'define_test' 1481 | define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1482:2: note: in expansion of macro 'define_test' 1482 | define_test("/TP/CON/BV-02-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1482:2: note: in expansion of macro 'define_test' 1482 | define_test("/TP/CON/BV-02-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1483:2: note: in expansion of macro 'define_test' 1483 | define_test("/TP/CON/BV-03-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1483:2: note: in expansion of macro 'define_test' 1483 | define_test("/TP/CON/BV-03-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1484:2: note: in expansion of macro 'define_test' 1484 | define_test("/TP/CON/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1484:2: note: in expansion of macro 'define_test' 1484 | define_test("/TP/CON/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1485:2: note: in expansion of macro 'define_test' 1485 | define_test("/TP/CON/BV-05-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1339:2: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1339:2: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1485:2: note: in expansion of macro 'define_test' 1485 | define_test("/TP/CON/BV-05-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1339:2: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1494:2: note: in expansion of macro 'define_test' 1494 | define_test("/TP/CEC/BV-01-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1494:2: note: in expansion of macro 'define_test' 1494 | define_test("/TP/CEC/BV-01-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1495:2: note: in expansion of macro 'define_test' 1495 | define_test("/TP/CEC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1495:2: note: in expansion of macro 'define_test' 1495 | define_test("/TP/CEC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1496:2: note: in expansion of macro 'define_test' 1496 | define_test("/TP/CRC/BV-01-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1368:2: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1496:2: note: in expansion of macro 'define_test' 1496 | define_test("/TP/CRC/BV-01-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1368:2: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1497:2: note: in expansion of macro 'define_test' 1497 | define_test("/TP/CRC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1368:2: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1497:2: note: in expansion of macro 'define_test' 1497 | define_test("/TP/CRC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1368:2: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1368:2: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1501:2: note: in expansion of macro 'define_test' 1501 | define_test("/TP/ICC/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1387:2: note: in expansion of macro 'define_ssa' 1387 | define_ssa("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1501:2: note: in expansion of macro 'define_test' 1501 | define_test("/TP/ICC/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1387:2: note: in expansion of macro 'define_ssa' 1387 | define_ssa("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1387:2: note: in expansion of macro 'define_ssa' 1387 | define_ssa("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1501:2: note: in expansion of macro 'define_test' 1501 | define_test("/TP/ICC/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1393:2: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1507:2: note: in expansion of macro 'define_test' 1507 | define_test("/TP/ICC/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1393:2: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1393:2: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1507:2: note: in expansion of macro 'define_test' 1507 | define_test("/TP/ICC/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1399:2: note: in expansion of macro 'define_ssa' 1399 | define_ssa("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1507:2: note: in expansion of macro 'define_test' 1507 | define_test("/TP/ICC/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1399:2: note: in expansion of macro 'define_ssa' 1399 | define_ssa("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1513:2: note: in expansion of macro 'define_test' 1513 | define_test("/TP/PTT/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1399:2: note: in expansion of macro 'define_ssa' 1399 | define_ssa("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1513:2: note: in expansion of macro 'define_test' 1513 | define_test("/TP/PTT/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1414:2: note: in expansion of macro 'define_ssa' 1414 | define_ssa("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1513:2: note: in expansion of macro 'define_test' 1513 | define_test("/TP/PTT/BV-01-I", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1414:2: note: in expansion of macro 'define_ssa' 1414 | define_ssa("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1414:2: note: in expansion of macro 'define_ssa' 1414 | define_ssa("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1519:2: note: in expansion of macro 'define_test' 1519 | define_test("/TP/PTT/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1420:2: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1519:2: note: in expansion of macro 'define_test' 1519 | define_test("/TP/PTT/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1420:2: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1420:2: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1519:2: note: in expansion of macro 'define_test' 1519 | define_test("/TP/PTT/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1426:2: note: in expansion of macro 'define_ssa' 1426 | define_ssa("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1525:2: note: in expansion of macro 'define_test' 1525 | define_test("/TP/PTT/BV-03-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1426:2: note: in expansion of macro 'define_ssa' 1426 | define_ssa("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1525:2: note: in expansion of macro 'define_test' 1525 | define_test("/TP/PTT/BV-03-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1426:2: note: in expansion of macro 'define_ssa' 1426 | define_ssa("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1525:2: note: in expansion of macro 'define_test' 1525 | define_test("/TP/PTT/BV-03-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1441:2: note: in expansion of macro 'define_ssa' 1441 | define_ssa("BV-03-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1441:2: note: in expansion of macro 'define_ssa' 1441 | define_ssa("BV-03-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1531:2: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1441:2: note: in expansion of macro 'define_ssa' 1441 | define_ssa("BV-03-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1531:2: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1447:2: note: in expansion of macro 'define_ssa' 1447 | define_ssa("BV-03-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1531:2: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1447:2: note: in expansion of macro 'define_ssa' 1447 | define_ssa("BV-03-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1447:2: note: in expansion of macro 'define_ssa' 1447 | define_ssa("BV-03-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:2: note: in expansion of macro 'define_test' 1537 | define_test("/TP/PTT/BV-05-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1453:2: note: in expansion of macro 'define_ssa' 1453 | define_ssa("BV-03-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:2: note: in expansion of macro 'define_test' 1537 | define_test("/TP/PTT/BV-05-I", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1453:2: note: in expansion of macro 'define_ssa' 1453 | define_ssa("BV-03-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1453:2: note: in expansion of macro 'define_ssa' 1453 | define_ssa("BV-03-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:2: note: in expansion of macro 'define_test' 1537 | define_test("/TP/PTT/BV-05-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1468:2: note: in expansion of macro 'define_ssa' 1468 | define_ssa("BV-04-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:2: note: in expansion of macro 'define_test' 1537 | define_test("/TP/PTT/BV-05-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1468:2: note: in expansion of macro 'define_ssa' 1468 | define_ssa("BV-04-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1537:2: note: in expansion of macro 'define_test' 1537 | define_test("/TP/PTT/BV-05-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1468:2: note: in expansion of macro 'define_ssa' 1468 | define_ssa("BV-04-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1549:2: note: in expansion of macro 'define_test' 1549 | define_test("/TP/CFG/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1549:2: note: in expansion of macro 'define_test' 1549 | define_test("/TP/CFG/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1475:2: note: in expansion of macro 'define_ssa' 1475 | define_ssa("BV-04-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1475:2: note: in expansion of macro 'define_ssa' 1475 | define_ssa("BV-04-C/UUID-32", | ^~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1554:2: note: in expansion of macro 'define_test' 1554 | define_test("/TP/CFG/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1554:2: note: in expansion of macro 'define_test' 1554 | define_test("/TP/CFG/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1475:2: note: in expansion of macro 'define_ssa' 1475 | define_ssa("BV-04-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1554:2: note: in expansion of macro 'define_test' 1554 | define_test("/TP/CFG/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1482:2: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1562:2: note: in expansion of macro 'define_test' 1562 | define_test("/TP/CFG/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1482:2: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1562:2: note: in expansion of macro 'define_test' 1562 | define_test("/TP/CFG/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1482:2: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1562:2: note: in expansion of macro 'define_test' 1562 | define_test("/TP/CFG/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1573:2: note: in expansion of macro 'define_test' 1573 | define_test("/TP/PAS/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1573:2: note: in expansion of macro 'define_test' 1573 | define_test("/TP/PAS/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1578:2: note: in expansion of macro 'define_test' 1578 | define_test("/TP/PAS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-gattrib.o unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1578:2: note: in expansion of macro 'define_test' 1578 | define_test("/TP/PAS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1578:2: note: in expansion of macro 'define_test' 1578 | define_test("/TP/PAS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1498:2: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1586:2: note: in expansion of macro 'define_test' 1586 | define_test("/TP/PAS/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1586:2: note: in expansion of macro 'define_test' 1586 | define_test("/TP/PAS/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1594:2: note: in expansion of macro 'define_test' 1594 | define_test("/TP/PAS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1594:2: note: in expansion of macro 'define_test' 1594 | define_test("/TP/PAS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1594:2: note: in expansion of macro 'define_test' 1594 | define_test("/TP/PAS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1514:2: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1606:2: note: in expansion of macro 'define_test' 1606 | define_test("/TP/PAS/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1606:2: note: in expansion of macro 'define_test' 1606 | define_test("/TP/PAS/BV-05-C", test_client, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1613:2: note: in expansion of macro 'define_test' 1613 | define_test("/TP/PAS/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1613:2: note: in expansion of macro 'define_test' 1613 | define_test("/TP/PAS/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1613:2: note: in expansion of macro 'define_test' 1613 | define_test("/TP/PAS/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1623:2: note: in expansion of macro 'define_test' 1623 | define_test("/TP/PAS/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1560:2: note: in expansion of macro 'define_ssa' 1560 | define_ssa("BV-07-C/UUID-16", | ^~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1623:2: note: in expansion of macro 'define_test' 1623 | define_test("/TP/PAS/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1560:2: note: in expansion of macro 'define_ssa' 1560 | define_ssa("BV-07-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1632:2: note: in expansion of macro 'define_test' 1632 | define_test("/TP/PAS/BV-08-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1560:2: note: in expansion of macro 'define_ssa' 1560 | define_ssa("BV-07-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1567:2: note: in expansion of macro 'define_ssa' 1567 | define_ssa("BV-07-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1632:2: note: in expansion of macro 'define_test' 1632 | define_test("/TP/PAS/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1567:2: note: in expansion of macro 'define_ssa' 1567 | define_ssa("BV-07-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1632:2: note: in expansion of macro 'define_test' 1632 | define_test("/TP/PAS/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1567:2: note: in expansion of macro 'define_ssa' 1567 | define_ssa("BV-07-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1644:2: note: in expansion of macro 'define_test' 1644 | define_test("/TP/PAS/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1574:2: note: in expansion of macro 'define_ssa' 1574 | define_ssa("BV-07-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1574:2: note: in expansion of macro 'define_ssa' 1574 | define_ssa("BV-07-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1644:2: note: in expansion of macro 'define_test' 1644 | define_test("/TP/PAS/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1574:2: note: in expansion of macro 'define_ssa' 1574 | define_ssa("BV-07-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-eir.o unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1652:2: note: in expansion of macro 'define_test' 1652 | define_test("/TP/PAS/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1590:2: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1590:2: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1652:2: note: in expansion of macro 'define_test' 1652 | define_test("/TP/PAS/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1590:2: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1652:2: note: in expansion of macro 'define_test' 1652 | define_test("/TP/PAS/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1597:2: note: in expansion of macro 'define_ssa' 1597 | define_ssa("BV-08-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1666:2: note: in expansion of macro 'define_test' 1666 | define_test("/TP/PAS/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1597:2: note: in expansion of macro 'define_ssa' 1597 | define_ssa("BV-08-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1666:2: note: in expansion of macro 'define_test' 1666 | define_test("/TP/PAS/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1597:2: note: in expansion of macro 'define_ssa' 1597 | define_ssa("BV-08-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1675:2: note: in expansion of macro 'define_test' 1675 | define_test("/TP/PAS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1604:2: note: in expansion of macro 'define_ssa' 1604 | define_ssa("BV-08-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-uuid.o unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1675:2: note: in expansion of macro 'define_test' 1675 | define_test("/TP/PAS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1604:2: note: in expansion of macro 'define_ssa' 1604 | define_ssa("BV-08-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1675:2: note: in expansion of macro 'define_test' 1675 | define_test("/TP/PAS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c: In function 'main': unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1604:2: note: in expansion of macro 'define_ssa' 1604 | define_ssa("BV-08-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1688:2: note: in expansion of macro 'define_test' 1688 | define_test("/TP/PAS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1620:2: note: in expansion of macro 'define_ssa' 1620 | define_ssa("BV-09-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1688:2: note: in expansion of macro 'define_test' 1688 | define_test("/TP/PAS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1620:2: note: in expansion of macro 'define_ssa' 1620 | define_ssa("BV-09-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1688:2: note: in expansion of macro 'define_test' 1688 | define_test("/TP/PAS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1620:2: note: in expansion of macro 'define_ssa' 1620 | define_ssa("BV-09-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1701:2: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1627:2: note: in expansion of macro 'define_ssa' 1627 | define_ssa("BV-09-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1701:2: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1627:2: note: in expansion of macro 'define_ssa' 1627 | define_ssa("BV-09-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1701:2: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1627:2: note: in expansion of macro 'define_ssa' 1627 | define_ssa("BV-09-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1715:2: note: in expansion of macro 'define_test' 1715 | define_test("/TP/PAS/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1715:2: note: in expansion of macro 'define_test' 1715 | define_test("/TP/PAS/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1634:2: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1715:2: note: in expansion of macro 'define_test' 1715 | define_test("/TP/PAS/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1634:2: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1728:2: note: in expansion of macro 'define_test' 1728 | define_test("/TP/PAS/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1634:2: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1728:2: note: in expansion of macro 'define_test' 1728 | define_test("/TP/PAS/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1650:2: note: in expansion of macro 'define_ssa' 1650 | define_ssa("BV-10-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1728:2: note: in expansion of macro 'define_test' 1728 | define_test("/TP/PAS/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1650:2: note: in expansion of macro 'define_ssa' 1650 | define_ssa("BV-10-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1742:2: note: in expansion of macro 'define_test' 1742 | define_test("/TP/MDI/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1650:2: note: in expansion of macro 'define_ssa' 1650 | define_ssa("BV-10-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1742:2: note: in expansion of macro 'define_test' 1742 | define_test("/TP/MDI/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1657:2: note: in expansion of macro 'define_ssa' 1657 | define_ssa("BV-10-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1748:2: note: in expansion of macro 'define_test' 1748 | define_test("/TP/MDI/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1748:2: note: in expansion of macro 'define_test' 1748 | define_test("/TP/MDI/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1657:2: note: in expansion of macro 'define_ssa' 1657 | define_ssa("BV-10-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1657:2: note: in expansion of macro 'define_ssa' 1657 | define_ssa("BV-10-C/UUID-32", | ^~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1748:2: note: in expansion of macro 'define_test' 1748 | define_test("/TP/MDI/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1760:2: note: in expansion of macro 'define_test' 1760 | define_test("/TP/MDI/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1664:2: note: in expansion of macro 'define_ssa' 1664 | define_ssa("BV-10-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1760:2: note: in expansion of macro 'define_test' 1760 | define_test("/TP/MDI/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1664:2: note: in expansion of macro 'define_ssa' 1664 | define_ssa("BV-10-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1664:2: note: in expansion of macro 'define_ssa' 1664 | define_ssa("BV-10-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1767:2: note: in expansion of macro 'define_test' 1767 | define_test("/TP/MDI/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1680:2: note: in expansion of macro 'define_ssa' 1680 | define_ssa("BV-11-C/UUID-16", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1767:2: note: in expansion of macro 'define_test' 1767 | define_test("/TP/MDI/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1680:2: note: in expansion of macro 'define_ssa' 1680 | define_ssa("BV-11-C/UUID-16", | ^~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1767:2: note: in expansion of macro 'define_test' 1767 | define_test("/TP/MDI/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1680:2: note: in expansion of macro 'define_ssa' 1680 | define_ssa("BV-11-C/UUID-16", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1777:2: note: in expansion of macro 'define_test' 1777 | define_test("/TP/MDI/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1777:2: note: in expansion of macro 'define_test' 1777 | define_test("/TP/MDI/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1689:2: note: in expansion of macro 'define_ssa' 1689 | define_ssa("BV-11-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1777:2: note: in expansion of macro 'define_test' 1777 | define_test("/TP/MDI/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1689:2: note: in expansion of macro 'define_ssa' 1689 | define_ssa("BV-11-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1790:2: note: in expansion of macro 'define_test' 1790 | define_test("/TP/NFY/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1689:2: note: in expansion of macro 'define_ssa' 1689 | define_ssa("BV-11-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1790:2: note: in expansion of macro 'define_test' 1790 | define_test("/TP/NFY/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1698:2: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:2: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1698:2: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:2: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1698:2: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:2: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1797:2: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1716:2: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1716:2: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1814:2: note: in expansion of macro 'define_test' 1814 | define_test("/TP/NFY/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1716:2: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1814:2: note: in expansion of macro 'define_test' 1814 | define_test("/TP/NFY/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1814:2: note: in expansion of macro 'define_test' 1814 | define_test("/TP/NFY/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1723:2: note: in expansion of macro 'define_ssa' 1723 | define_ssa("BV-12-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1814:2: note: in expansion of macro 'define_test' 1814 | define_test("/TP/NFY/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1723:2: note: in expansion of macro 'define_ssa' 1723 | define_ssa("BV-12-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1723:2: note: in expansion of macro 'define_ssa' 1723 | define_ssa("BV-12-C/UUID-32", | ^~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1832:2: note: in expansion of macro 'define_test' 1832 | define_test("/TP/NFY/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1832:2: note: in expansion of macro 'define_test' 1832 | define_test("/TP/NFY/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1730:2: note: in expansion of macro 'define_ssa' 1730 | define_ssa("BV-12-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1832:2: note: in expansion of macro 'define_test' 1832 | define_test("/TP/NFY/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1730:2: note: in expansion of macro 'define_ssa' 1730 | define_ssa("BV-12-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1844:2: note: in expansion of macro 'define_test' 1844 | define_test("/TP/NFY/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1730:2: note: in expansion of macro 'define_ssa' 1730 | define_ssa("BV-12-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1844:2: note: in expansion of macro 'define_test' 1844 | define_test("/TP/NFY/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1746:2: note: in expansion of macro 'define_ssa' 1746 | define_ssa("BV-13-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1844:2: note: in expansion of macro 'define_test' 1844 | define_test("/TP/NFY/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1746:2: note: in expansion of macro 'define_ssa' 1746 | define_ssa("BV-13-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1856:2: note: in expansion of macro 'define_test' 1856 | define_test("/TP/NFY/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1746:2: note: in expansion of macro 'define_ssa' 1746 | define_ssa("BV-13-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-textfile.o unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1856:2: note: in expansion of macro 'define_test' 1856 | define_test("/TP/NFY/BV-08-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1754:2: note: in expansion of macro 'define_ssa' 1754 | define_ssa("BV-13-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1856:2: note: in expansion of macro 'define_test' 1856 | define_test("/TP/NFY/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1754:2: note: in expansion of macro 'define_ssa' 1754 | define_ssa("BV-13-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1868:2: note: in expansion of macro 'define_test' 1868 | define_test("/TP/NFY/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1754:2: note: in expansion of macro 'define_ssa' 1754 | define_ssa("BV-13-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1868:2: note: in expansion of macro 'define_test' 1868 | define_test("/TP/NFY/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1762:2: note: in expansion of macro 'define_ssa' 1762 | define_ssa("BV-13-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1868:2: note: in expansion of macro 'define_test' 1868 | define_test("/TP/NFY/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1762:2: note: in expansion of macro 'define_ssa' 1762 | define_ssa("BV-13-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1883:2: note: in expansion of macro 'define_test' 1883 | define_test("/TP/INV/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1762:2: note: in expansion of macro 'define_ssa' 1762 | define_ssa("BV-13-C/UUID-128", | ^~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1883:2: note: in expansion of macro 'define_test' 1883 | define_test("/TP/INV/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1883:2: note: in expansion of macro 'define_test' 1883 | define_test("/TP/INV/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1779:2: note: in expansion of macro 'define_ssa' 1779 | define_ssa("BV-14-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1895:2: note: in expansion of macro 'define_test' 1895 | define_test("/TP/INV/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1779:2: note: in expansion of macro 'define_ssa' 1779 | define_ssa("BV-14-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1895:2: note: in expansion of macro 'define_test' 1895 | define_test("/TP/INV/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1779:2: note: in expansion of macro 'define_ssa' 1779 | define_ssa("BV-14-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-crc unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1895:2: note: in expansion of macro 'define_test' 1895 | define_test("/TP/INV/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1786:2: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1901:2: note: in expansion of macro 'define_test' 1901 | define_test("/TP/BGN/BV-01-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1786:2: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1901:2: note: in expansion of macro 'define_test' 1901 | define_test("/TP/BGN/BV-01-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1786:2: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1908:2: note: in expansion of macro 'define_test' 1908 | define_test("/TP/BGN/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1793:2: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1908:2: note: in expansion of macro 'define_test' 1908 | define_test("/TP/BGN/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1908:2: note: in expansion of macro 'define_test' 1908 | define_test("/TP/BGN/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1793:2: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1919:2: note: in expansion of macro 'define_test' 1919 | define_test("/TP/BGN/BV-02-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1793:2: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1919:2: note: in expansion of macro 'define_test' 1919 | define_test("/TP/BGN/BV-02-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1809:2: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1809:2: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1809:2: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ CCLD unit/test-crypto unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-ecc unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1939:2: note: in expansion of macro 'define_test' 1939 | define_test("/TP/VLH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1818:2: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1939:2: note: in expansion of macro 'define_test' 1939 | define_test("/TP/VLH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1818:2: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1945:2: note: in expansion of macro 'define_test' 1945 | define_test("/TP/VLH/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1818:2: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1945:2: note: in expansion of macro 'define_test' 1945 | define_test("/TP/VLH/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1945:2: note: in expansion of macro 'define_test' 1945 | define_test("/TP/VLH/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1827:2: note: in expansion of macro 'define_ssa' 1827 | define_ssa("BV-15-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1954:2: note: in expansion of macro 'define_test' 1954 | define_test("/TP/VLH/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1827:2: note: in expansion of macro 'define_ssa' 1827 | define_ssa("BV-15-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1954:2: note: in expansion of macro 'define_test' 1954 | define_test("/TP/VLH/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1827:2: note: in expansion of macro 'define_ssa' 1827 | define_ssa("BV-15-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1954:2: note: in expansion of macro 'define_test' 1954 | define_test("/TP/VLH/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1965:2: note: in expansion of macro 'define_test' 1965 | define_test("/TP/VLH/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1965:2: note: in expansion of macro 'define_test' 1965 | define_test("/TP/VLH/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1965:2: note: in expansion of macro 'define_test' 1965 | define_test("/TP/VLH/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1965:2: note: in expansion of macro 'define_test' 1965 | define_test("/TP/VLH/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1980:2: note: in expansion of macro 'define_test' 1980 | define_test("/TP/VLH/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1980:2: note: in expansion of macro 'define_test' 1980 | define_test("/TP/VLH/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1860:2: note: in expansion of macro 'define_ssa' 1860 | define_ssa("BV-16-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1980:2: note: in expansion of macro 'define_test' 1980 | define_test("/TP/VLH/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1860:2: note: in expansion of macro 'define_ssa' 1860 | define_ssa("BV-16-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1989:2: note: in expansion of macro 'define_test' 1989 | define_test("/TP/VLH/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1860:2: note: in expansion of macro 'define_ssa' 1860 | define_ssa("BV-16-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1989:2: note: in expansion of macro 'define_test' 1989 | define_test("/TP/VLH/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1860:2: note: in expansion of macro 'define_ssa' 1860 | define_ssa("BV-16-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1989:2: note: in expansion of macro 'define_test' 1989 | define_test("/TP/VLH/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1860:2: note: in expansion of macro 'define_ssa' 1860 | define_ssa("BV-16-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1998:2: note: in expansion of macro 'define_test' 1998 | define_test("/TP/VLH/BI-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1998:2: note: in expansion of macro 'define_test' 1998 | define_test("/TP/VLH/BI-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1998:2: note: in expansion of macro 'define_test' 1998 | define_test("/TP/VLH/BI-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2007:2: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2007:2: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2007:2: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2007:2: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'report_read_cb': unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:532:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 532 | report->value = g_memdup(pdu, len); | ^~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1930:2: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1930:2: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1930:2: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1930:2: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1930:2: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:2: note: in expansion of macro 'define_test' 2068 | define_test("/TP/RCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:2: note: in expansion of macro 'define_test' 2068 | define_test("/TP/RCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/scanparam/scpp.c: In function 'bt_scpp_new': profiles/scanparam/scpp.c:113:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 113 | scan->primary = g_memdup(primary, sizeof(*scan->primary)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/scanparam/scpp.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:2: note: in expansion of macro 'define_test' 2068 | define_test("/TP/RCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:2: note: in expansion of macro 'define_test' 2068 | define_test("/TP/RCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2068:2: note: in expansion of macro 'define_test' 2068 | define_test("/TP/RCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1983:2: note: in expansion of macro 'define_ssa' 1983 | define_ssa("BV-18-C/UUID-128", | ^~~~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_hog': In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:1612:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1612 | hog->primary = g_memdup(primary, sizeof(*primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:1626:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1626 | instance->primary = g_memdup(primary, sizeof(*primary)); | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1983:2: note: in expansion of macro 'define_ssa' 1983 | define_ssa("BV-18-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1983:2: note: in expansion of macro 'define_ssa' 1983 | define_ssa("BV-18-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/battery/bas.c: In function 'bt_bas_new': profiles/battery/bas.c:78:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 78 | bas->primary = g_memdup(primary, sizeof(*bas->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/battery/bas.c:18: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1983:2: note: in expansion of macro 'define_ssa' 1983 | define_ssa("BV-18-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1983:2: note: in expansion of macro 'define_ssa' 1983 | define_ssa("BV-18-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: In function 'test_server': unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2007:2: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:1920:15: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1920 | const struct test_pdu pdu = SERVER_MTU_EXCHANGE_PDU; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2007:2: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2007:2: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2014:2: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2014:2: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2014:2: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2021:2: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2021:2: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2021:2: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2037:2: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2037:2: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2037:2: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: In function 'main': unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2368:2: note: in expansion of macro 'define_test_client' 2368 | define_test_client("/TP/GAC/CL/BV-01-C", test_client, NULL, NULL, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2045:2: note: in expansion of macro 'define_ssa' 2045 | define_ssa("BV-20-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2368:2: note: in expansion of macro 'define_test_client' 2368 | define_test_client("/TP/GAC/CL/BV-01-C", test_client, NULL, NULL, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2045:2: note: in expansion of macro 'define_ssa' 2045 | define_ssa("BV-20-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2371:2: note: in expansion of macro 'define_test_server' 2371 | define_test_server("/TP/GAC/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2371:2: note: in expansion of macro 'define_test_server' 2371 | define_test_server("/TP/GAC/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2045:2: note: in expansion of macro 'define_ssa' 2045 | define_ssa("BV-20-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-ringbuf unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2053:2: note: in expansion of macro 'define_ssa' 2053 | define_ssa("BV-20-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2053:2: note: in expansion of macro 'define_ssa' 2053 | define_ssa("BV-20-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2053:2: note: in expansion of macro 'define_ssa' 2053 | define_ssa("BV-20-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2070:2: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2070:2: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:2: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2070:2: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:2: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2079:2: note: in expansion of macro 'define_ssa' 2079 | define_ssa("BV-21-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:2: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2079:2: note: in expansion of macro 'define_ssa' 2079 | define_ssa("BV-21-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:2: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:2: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2079:2: note: in expansion of macro 'define_ssa' 2079 | define_ssa("BV-21-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:2: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-queue unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2088:2: note: in expansion of macro 'define_ssa' 2088 | define_ssa("BV-21-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-mgmt unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:2: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:2: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2088:2: note: in expansion of macro 'define_ssa' 2088 | define_ssa("BV-21-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:2: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2088:2: note: in expansion of macro 'define_ssa' 2088 | define_ssa("BV-21-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:2: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:2: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2106:2: note: in expansion of macro 'define_ssa' 2106 | define_ssa("BV-22-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:2: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2106:2: note: in expansion of macro 'define_ssa' 2106 | define_ssa("BV-22-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:2: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:2: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2106:2: note: in expansion of macro 'define_ssa' 2106 | define_ssa("BV-22-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:2: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:2: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2115:2: note: in expansion of macro 'define_ssa' 2115 | define_ssa("BV-22-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2115:2: note: in expansion of macro 'define_ssa' 2115 | define_ssa("BV-22-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2115:2: note: in expansion of macro 'define_ssa' 2115 | define_ssa("BV-22-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-uhid unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2124:2: note: in expansion of macro 'define_ssa' 2124 | define_ssa("BV-22-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2124:2: note: in expansion of macro 'define_ssa' 2124 | define_ssa("BV-22-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2124:2: note: in expansion of macro 'define_ssa' 2124 | define_ssa("BV-22-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2142:2: note: in expansion of macro 'define_ssa' 2142 | define_ssa("BV-23-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2142:2: note: in expansion of macro 'define_ssa' 2142 | define_ssa("BV-23-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2142:2: note: in expansion of macro 'define_ssa' 2142 | define_ssa("BV-23-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2150:2: note: in expansion of macro 'define_ssa' 2150 | define_ssa("BV-23-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2150:2: note: in expansion of macro 'define_ssa' 2150 | define_ssa("BV-23-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2150:2: note: in expansion of macro 'define_ssa' 2150 | define_ssa("BV-23-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:2: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2158:2: note: in expansion of macro 'define_ssa' 2158 | define_ssa("BV-23-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2158:2: note: in expansion of macro 'define_ssa' 2158 | define_ssa("BV-23-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2158:2: note: in expansion of macro 'define_ssa' 2158 | define_ssa("BV-23-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2175:2: note: in expansion of macro 'define_ssa' 2175 | define_ssa("BI-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:2: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2175:2: note: in expansion of macro 'define_ssa' 2175 | define_ssa("BI-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2175:2: note: in expansion of macro 'define_ssa' 2175 | define_ssa("BI-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:2: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:2: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2179:2: note: in expansion of macro 'define_ssa' 2179 | define_ssa("BI-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:2: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': profiles/deviceinfo/dis.c:146:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 146 | dis->primary = g_memdup(primary, sizeof(*dis->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/deviceinfo/dis.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:2: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2179:2: note: in expansion of macro 'define_ssa' 2179 | define_ssa("BI-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:2: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2179:2: note: in expansion of macro 'define_ssa' 2179 | define_ssa("BI-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2184:2: note: in expansion of macro 'define_ssa' 2184 | define_ssa("BI-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2184:2: note: in expansion of macro 'define_ssa' 2184 | define_ssa("BI-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2184:2: note: in expansion of macro 'define_ssa' 2184 | define_ssa("BI-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2198:2: note: in expansion of macro 'define_ssa' 2198 | define_ssa("BI-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2198:2: note: in expansion of macro 'define_ssa' 2198 | define_ssa("BI-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:2: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2198:2: note: in expansion of macro 'define_ssa' 2198 | define_ssa("BI-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:2: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2203:2: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:2: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:2: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2203:2: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:2: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2203:2: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:2: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:2: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2208:2: note: in expansion of macro 'define_ssa' 2208 | define_ssa("BI-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:2: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2208:2: note: in expansion of macro 'define_ssa' 2208 | define_ssa("BI-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:2: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2208:2: note: in expansion of macro 'define_ssa' 2208 | define_ssa("BI-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:2: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:2: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:2: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:2: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:2: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:2: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:2: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:2: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:2: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:2: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:2: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:2: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:2: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:2: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:2: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:2: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:2: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:2: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:2: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:2: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:2: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:2: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ CC android/avdtp.o In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:2: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:2: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:2: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:2: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:2: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:2: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:2: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC android/avctp.o unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:2: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC android/avrcp-lib.o unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-header unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:2: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-packet unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-apparam unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:2: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-lib unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:2: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:2: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:2: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:2: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:2: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:2: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:2: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-crc unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-crypto unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:2: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:2: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:2: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:2: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:2: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:2: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:2: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:2: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2343:2: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:2: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:2: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-mgmt unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gdbus-client unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-uhid unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex-packet unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex-header CCLD unit/test-uuid unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex-apparam unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-eir unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2600:2: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2637:2: note: in expansion of macro 'define_brw' 2637 | define_brw("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:2: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:2: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:2: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:2: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:2: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:2: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-lib unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:2: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:2: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:2: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2720:2: note: in expansion of macro 'define_test_de_attr' 2720 | define_test_de_attr("TEXT_STR8/empty", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:2: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2723:2: note: in expansion of macro 'define_test_de_attr' 2723 | define_test_de_attr("TEXT_STR8", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:2: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2726:2: note: in expansion of macro 'define_test_de_attr' 2726 | define_test_de_attr("TEXT_STR16", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2729:2: note: in expansion of macro 'define_test_de_attr' 2729 | define_test_de_attr("URL_STR8", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2735:2: note: in expansion of macro 'define_test_de_attr' 2735 | define_test_de_attr("URL_STR16", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2741:2: note: in expansion of macro 'define_test_de_attr' 2741 | define_test_de_attr("NIL", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2744:2: note: in expansion of macro 'define_test_de_attr' 2744 | define_test_de_attr("UINT8", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2747:2: note: in expansion of macro 'define_test_de_attr' 2747 | define_test_de_attr("INT8", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2750:2: note: in expansion of macro 'define_test_de_attr' 2750 | define_test_de_attr("BOOL", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2753:2: note: in expansion of macro 'define_test_de_attr' 2753 | define_test_de_attr("UINT16", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2756:2: note: in expansion of macro 'define_test_de_attr' 2756 | define_test_de_attr("INT16", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2759:2: note: in expansion of macro 'define_test_de_attr' 2759 | define_test_de_attr("UINT32", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2762:2: note: in expansion of macro 'define_test_de_attr' 2762 | define_test_de_attr("INT32", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2765:2: note: in expansion of macro 'define_test_de_attr' 2765 | define_test_de_attr("UINT64", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2769:2: note: in expansion of macro 'define_test_de_attr' 2769 | define_test_de_attr("INT64", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2774:2: note: in expansion of macro 'define_test_de_attr' 2774 | define_test_de_attr("UINT128", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2782:2: note: in expansion of macro 'define_test_de_attr' 2782 | define_test_de_attr("INT128", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-queue unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:77:35: note: in expansion of macro 'define_test' 77 | #define define_rob(name, args...) define_test("/TP/SERVER/ROB/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2797:2: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:2: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:2: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avctp.c: In function 'avctp_send_req': android/avctp.c:1182:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1182 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from android/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avctp.c: In function 'avctp_send_browsing_req': android/avctp.c:1223:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1223 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from android/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avrcp-lib.c: In function 'parse_folder_list': unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avrcp-lib.c:2623:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2623 | folders[count] = g_memdup(¶ms[i], len); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from android/avrcp-lib.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gdbus-client unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:2: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-uuid unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:2: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-textfile unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-eir unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:2: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:2: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gattrib unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:2: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:2: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:2: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:2: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:2: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:2: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:2: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:2: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:2: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:2: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:2: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:2: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:2: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:2: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:2: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:2: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:2: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:2: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:2: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:2: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:2: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:2: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:2: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:2: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:2: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:2: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:2: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:2: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:2: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:2: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:2: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:2: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:2: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:2: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:2: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:2: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:2: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:2: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:2: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:2: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:2: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:2: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:2: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:2: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:2: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:2: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:2: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:2: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:2: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:2: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-hfp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:2: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:2: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:2: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:2: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-textfile unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:2: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:2: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:2: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:2: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:2: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:2: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:2: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:2: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:2: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:2: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:2: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:2: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:2: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:2: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:2: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:2: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:2: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:2: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:2: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:2: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:2: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:2: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:2: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:2: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:2: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:2: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:2: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:2: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:2: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:2: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:2: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:2: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:2: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:2: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:2: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:2: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:2: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:2: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:2: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:2: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:2: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:2: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:2: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:2: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:2: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gattrib unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:2: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:2: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-hfp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:2: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:2: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:2: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:2: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:2: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:2: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:2: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:2: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:2: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:2: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:2: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:2: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:2: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:2: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:2: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:2: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:2: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:2: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:2: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:2: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:2: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:2: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:2: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:2: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:2: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:2: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:2: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:2: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:2: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:2: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:2: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:2: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:2: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:2: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avctp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:2: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:2: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:2: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:2: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:2: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:2: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:2: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:2: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:2: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:2: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:2: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:2: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:2: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:2: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:2: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:2: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:2: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:2: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:2: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:2: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:2: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:2: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:2: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:2: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:2: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:2: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:2: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:2: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:2: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:2: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:2: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:2: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:2: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:2: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:2: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:2: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:2: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:2: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:2: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:2: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:2: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:2: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-hog unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:2: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:2: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:2: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:2: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:2: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:2: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:2: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:2: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:2: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-ecc unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-transfer unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:2: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:2: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:2: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:2: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:2: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:2: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-avctp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:2: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:2: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:2: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:2: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-hog unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:2: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:2: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:2: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:2: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:2: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:2: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:2: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:2: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:2: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:2: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:2: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:2: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:2: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:2: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avdtp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:2: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:2: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:2: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:2: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:2: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:2: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:2: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:2: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:2: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:2: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:2: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:2: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:2: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:2: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:2: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:2: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:2: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:2: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avrcp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:2: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:2: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:2: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:2: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:2: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:2: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:2: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:2: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:2: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:2: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:2: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:2: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:2: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:2: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:2: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:2: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:2: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:2: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:2: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:2: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:2: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:2: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:2: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:2: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:2: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:2: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:2: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:2: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:2: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:2: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:2: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:2: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:2: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:2: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:2: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:2: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:2: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:2: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:2: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:2: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:2: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:2: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:2: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:2: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:2: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:2: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:2: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:2: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:2: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:2: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:2: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:2: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:2: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:2: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:2: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:2: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:2: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:2: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:2: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:2: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:2: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:2: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:2: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:2: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:2: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:2: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:2: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:2: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:2: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:2: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:2: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:2: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:2: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:2: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:2: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:2: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:2: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:2: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:2: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:2: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:2: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:2: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:2: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:2: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:2: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:2: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:2: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:2: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:2: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:2: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:2: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:2: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:2: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:2: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:2: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:2: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:2: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:2: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:2: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:2: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:2: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:2: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:2: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:2: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:2: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:2: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-sdp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:2: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:2: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:2: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:2: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:2: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:2: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:2: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:2: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:2: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:2: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:2: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:2: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:2: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:2: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:2: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:2: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:2: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:2: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:2: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:2: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:2: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:2: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-sdp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:2: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:2: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:2: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:2: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:2: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex-transfer PASS: unit/test-avdtp PASS: unit/test-ringbuf PASS: unit/test-avrcp CCLD unit/test-gatt PASS: unit/test-gatt ============================================================================ Testsuite summary for bluez 5.62 ============================================================================ # TOTAL: 25 # PASS: 25 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ >>> bluez: Entering fakeroot... make --no-print-directory install-am ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/system.d' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man1' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man8' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/pkgconfig' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/include/bluetooth' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/rules.d' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' /usr/bin/install -c -m 644 src/bluetooth.conf mesh/bluetooth-mesh.conf '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/system.d' /usr/bin/install -c -m 644 completion/zsh/_bluetoothctl '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' /usr/bin/install -c -m 644 lib/bluez.pc '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/pkgconfig' /usr/bin/install -c -m 644 tools/97-hid2hci.rules '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/rules.d' /usr/bin/install -c -m 644 lib/bluetooth.h lib/hci.h lib/hci_lib.h lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h '/home/buildozer/aports/main/bluez/pkg/bluez/usr/include/bluetooth' /usr/bin/install -c -m 644 src/bluetoothd.8 mesh/bluetooth-meshd.8 '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man8' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' /usr/bin/install -c -m 644 monitor/btmon.1 tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1 tools/hid2hci.1 '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man1' libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.so.3.19.6 /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.so.3.19.6 libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.6 libbluetooth.so.3; }; }) libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.6 libbluetooth.so; }; }) libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.lai /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.la libtool: warning: remember to run 'libtool --finish /usr/lib' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -c plugins/sixaxis.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' /bin/sh ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/rctest tools/l2test tools/l2ping tools/bluemoon tools/hex2hcd tools/mpris-proxy tools/btattach tools/meshctl tools/mesh-cfgclient tools/mesh-cfgtest tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/sdptool tools/ciptool '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd mesh/bluetooth-meshd '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth' /bin/sh ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend' libtool: install: /usr/bin/install -c tools/hid2hci /home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/hid2hci libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.so /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins/sixaxis.so libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.lai /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins/sixaxis.la libtool: install: /usr/bin/install -c src/bluetoothd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetoothd libtool: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c profiles/cups/bluetooth /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend/bluetooth libtool: install: /usr/bin/install -c obexd/src/obexd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/obexd libtool: install: /usr/bin/install -c client/bluetoothctl /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/bluetoothctl libtool: install: /usr/bin/install -c mesh/bluetooth-meshd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetooth-meshd libtool: install: /usr/bin/install -c monitor/btmon /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/btmon libtool: install: /usr/bin/install -c tools/rctest /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/rctest libtool: install: /usr/bin/install -c tools/l2test /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/l2test libtool: install: /usr/bin/install -c tools/l2ping /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/l2ping libtool: install: /usr/bin/install -c tools/bluemoon /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/bluemoon libtool: install: /usr/bin/install -c tools/hex2hcd /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hex2hcd libtool: install: /usr/bin/install -c tools/mpris-proxy /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/mpris-proxy libtool: install: /usr/bin/install -c tools/btattach /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/btattach libtool: install: /usr/bin/install -c tools/meshctl /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/meshctl libtool: install: /usr/bin/install -c tools/mesh-cfgclient /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/mesh-cfgclient libtool: install: /usr/bin/install -c tools/mesh-cfgtest /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/mesh-cfgtest libtool: install: /usr/bin/install -c tools/hciattach /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hciattach libtool: install: /usr/bin/install -c tools/hciconfig /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hciconfig libtool: install: /usr/bin/install -c tools/hcitool /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hcitool libtool: install: /usr/bin/install -c tools/hcidump /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hcidump libtool: install: /usr/bin/install -c tools/rfcomm /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/rfcomm libtool: install: /usr/bin/install -c tools/sdptool /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/sdptool libtool: install: /usr/bin/install -c tools/ciptool /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/ciptool >>> bluez-dev*: Running split function dev... >>> bluez-dev*: Preparing subpackage bluez-dev... >>> bluez-dev*: Stripping binaries >>> bluez-dev*: Running postcheck for bluez-dev >>> bluez-doc*: Running split function doc... >>> bluez-doc*: Preparing subpackage bluez-doc... >>> bluez-doc*: Running postcheck for bluez-doc >>> bluez-libs*: Running split function libs... >>> bluez-libs*: Preparing subpackage bluez-libs... >>> bluez-libs*: Stripping binaries >>> bluez-libs*: Running postcheck for bluez-libs >>> bluez-openrc*: Running split function openrc... >>> bluez-openrc*: Preparing subpackage bluez-openrc... >>> bluez-openrc*: Running postcheck for bluez-openrc >>> bluez-btmgmt*: Running split function btmgmt... >>> bluez-btmgmt*: Preparing subpackage bluez-btmgmt... >>> bluez-btmgmt*: Stripping binaries >>> bluez-btmgmt*: Running postcheck for bluez-btmgmt >>> bluez-btmon*: Running split function btmon... >>> bluez-btmon*: Preparing subpackage bluez-btmon... >>> bluez-btmon*: Stripping binaries >>> bluez-btmon*: Running postcheck for bluez-btmon >>> bluez-cups*: Running split function cups... >>> bluez-cups*: Preparing subpackage bluez-cups... >>> bluez-cups*: Stripping binaries >>> bluez-cups*: Running postcheck for bluez-cups >>> bluez-deprecated*: Running split function deprecated... >>> bluez-deprecated*: Preparing subpackage bluez-deprecated... >>> bluez-deprecated*: Stripping binaries >>> bluez-deprecated*: Running postcheck for bluez-deprecated >>> bluez-deprecated-openrc*: Running split function openrc... >>> bluez-deprecated-openrc*: Preparing subpackage bluez-deprecated-openrc... >>> bluez-deprecated-openrc*: Running postcheck for bluez-deprecated-openrc >>> bluez-hid2hci*: Running split function hid2hci... >>> bluez-hid2hci*: Preparing subpackage bluez-hid2hci... >>> bluez-hid2hci*: Stripping binaries >>> bluez-hid2hci*: Running postcheck for bluez-hid2hci >>> bluez-meshctl*: Running split function meshctl... >>> bluez-meshctl*: Preparing subpackage bluez-meshctl... >>> bluez-meshctl*: Stripping binaries >>> bluez-meshctl*: Running postcheck for bluez-meshctl >>> bluez-obexd*: Running split function obexd... >>> bluez-obexd*: Preparing subpackage bluez-obexd... >>> bluez-obexd*: Stripping binaries >>> bluez-obexd*: Running postcheck for bluez-obexd >>> bluez-plugins*: Running split function plugins... ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib' libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.so.3.19.6 /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/libbluetooth.so.3.19.6 libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.6 libbluetooth.so.3; }; }) libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.6 libbluetooth.so; }; }) libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.lai /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/libbluetooth.la libtool: warning: remember to run 'libtool --finish /usr/lib' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins' /bin/sh ./libtool --mode=install /usr/bin/install -c plugins/sixaxis.la '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.so /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins/sixaxis.so libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.lai /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins/sixaxis.la libtool: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' >>> bluez-plugins*: Preparing subpackage bluez-plugins... >>> bluez-plugins*: Stripping binaries >>> bluez-plugins*: Running postcheck for bluez-plugins >>> bluez-zsh-completion*: Running split function zshcomp... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' -> '/home/buildozer/aports/main/bluez/pkg/bluez-zsh-completion/usr/share/zsh/site-functions' >>> bluez-zsh-completion*: Preparing subpackage bluez-zsh-completion... >>> bluez-zsh-completion*: Running postcheck for bluez-zsh-completion >>> bluez*: Running postcheck for bluez >>> bluez*: Preparing package bluez... >>> bluez*: Stripping binaries >>> bluez-btmgmt*: Scanning shared objects >>> bluez-btmon*: Scanning shared objects >>> bluez-cups*: Scanning shared objects >>> bluez-deprecated-openrc*: Scanning shared objects >>> bluez-deprecated*: Scanning shared objects >>> bluez-dev*: Scanning shared objects >>> bluez-doc*: Scanning shared objects >>> bluez-hid2hci*: Scanning shared objects >>> bluez-libs*: Scanning shared objects >>> bluez-meshctl*: Scanning shared objects >>> bluez-obexd*: Scanning shared objects >>> bluez-openrc*: Scanning shared objects >>> bluez-plugins*: Scanning shared objects >>> bluez-zsh-completion*: Scanning shared objects >>> bluez*: Scanning shared objects >>> bluez-btmgmt*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libreadline.so.8 >>> bluez-btmgmt*: Package size: 368.0 KB >>> bluez-btmgmt*: Compressing data... >>> bluez-btmgmt*: Create checksum... >>> bluez-btmgmt*: Create bluez-btmgmt-5.62-r0.apk >>> bluez-btmon*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libudev.so.1 >>> bluez-btmon*: Package size: 824.0 KB >>> bluez-btmon*: Compressing data... >>> bluez-btmon*: Create checksum... >>> bluez-btmon*: Create bluez-btmon-5.62-r0.apk >>> bluez-cups*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 >>> bluez-cups*: Package size: 220.0 KB >>> bluez-cups*: Compressing data... >>> bluez-cups*: Create checksum... >>> bluez-cups*: Create bluez-cups-5.62-r0.apk >>> bluez-deprecated-openrc*: Tracing dependencies... >>> bluez-deprecated-openrc*: Package size: 24.0 KB >>> bluez-deprecated-openrc*: Compressing data... >>> bluez-deprecated-openrc*: Create checksum... >>> bluez-deprecated-openrc*: Create bluez-deprecated-openrc-5.62-r0.apk >>> bluez-deprecated*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libglib-2.0.so.0 so:libreadline.so.8 so:libudev.so.1 >>> bluez-deprecated*: Package size: 1.7 MB >>> bluez-deprecated*: Compressing data... >>> bluez-deprecated*: Create checksum... >>> bluez-deprecated*: Create bluez-deprecated-5.62-r0.apk >>> bluez-dev*: Tracing dependencies... bluez-libs=5.62-r0 pkgconfig >>> bluez-dev*: Package size: 188.0 KB >>> bluez-dev*: Compressing data... >>> bluez-dev*: Create checksum... >>> bluez-dev*: Create bluez-dev-5.62-r0.apk >>> bluez-doc*: Tracing dependencies... >>> bluez-doc*: Package size: 80.0 KB >>> bluez-doc*: Compressing data... >>> bluez-doc*: Create checksum... >>> bluez-doc*: Create bluez-doc-5.62-r0.apk >>> bluez-hid2hci*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libudev.so.1 >>> bluez-hid2hci*: Package size: 36.0 KB >>> bluez-hid2hci*: Compressing data... >>> bluez-hid2hci*: Create checksum... >>> bluez-hid2hci*: Create bluez-hid2hci-5.62-r0.apk >>> bluez-libs*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> bluez-libs*: Package size: 192.0 KB >>> bluez-libs*: Compressing data... >>> bluez-libs*: Create checksum... >>> bluez-libs*: Create bluez-libs-5.62-r0.apk >>> bluez-meshctl*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libjson-c.so.5 so:libreadline.so.8 >>> bluez-meshctl*: Package size: 268.0 KB >>> bluez-meshctl*: Compressing data... >>> bluez-meshctl*: Create checksum... >>> bluez-meshctl*: Create bluez-meshctl-5.62-r0.apk >>> bluez-obexd*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libicalvcal.so.3 >>> bluez-obexd*: Package size: 520.0 KB >>> bluez-obexd*: Compressing data... >>> bluez-obexd*: Create checksum... >>> bluez-obexd*: Create bluez-obexd-5.62-r0.apk >>> bluez-openrc*: Tracing dependencies... >>> bluez-openrc*: Package size: 16.0 KB >>> bluez-openrc*: Compressing data... >>> bluez-openrc*: Create checksum... >>> bluez-openrc*: Create bluez-openrc-5.62-r0.apk >>> bluez-plugins*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libudev.so.1 >>> bluez-plugins*: Package size: 52.0 KB >>> bluez-plugins*: Compressing data... >>> bluez-plugins*: Create checksum... >>> bluez-plugins*: Create bluez-plugins-5.62-r0.apk >>> bluez-zsh-completion*: Tracing dependencies... >>> bluez-zsh-completion*: Package size: 24.0 KB >>> bluez-zsh-completion*: Compressing data... >>> bluez-zsh-completion*: Create checksum... >>> bluez-zsh-completion*: Create bluez-zsh-completion-5.62-r0.apk >>> bluez*: Tracing dependencies... dbus so:libc.musl-x86_64.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libjson-c.so.5 so:libreadline.so.8 so:libudev.so.1 >>> bluez*: Package size: 3.2 MB >>> bluez*: Compressing data... >>> bluez*: Create checksum... >>> bluez*: Create bluez-5.62-r0.apk >>> bluez: Build complete at Mon, 25 Oct 2021 10:01:28 +0000 elapsed time 0h 1m 6s >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Uninstalling dependencies... (1/133) Purging util-linux-misc (2.37.2-r1) (2/133) Purging runuser (2.37.2-r1) (3/133) Purging hexdump (2.37.2-r1) (4/133) Purging uuidgen (2.37.2-r1) (5/133) Purging blkid (2.37.2-r1) (6/133) Purging sfdisk (2.37.2-r1) (7/133) Purging mcookie (2.37.2-r1) (8/133) Purging wipefs (2.37.2-r1) (9/133) Purging cfdisk (2.37.2-r1) (10/133) Purging flock (2.37.2-r1) (11/133) Purging lsblk (2.37.2-r1) (12/133) Purging setpriv (2.37.2-r1) (13/133) Purging logger (2.37.2-r1) (14/133) Purging partx (2.37.2-r1) (15/133) Purging findmnt (2.37.2-r1) (16/133) Purging .makedepends-bluez (20211025.100022) (17/133) Purging dbus-openrc (1.12.20-r2) (18/133) Purging dbus (1.12.20-r2) (19/133) Purging dbus-dev (1.12.20-r2) (20/133) Purging dbus-libs (1.12.20-r2) (21/133) Purging libusb-compat-dev (0.1.7-r0) (22/133) Purging libusb-compat (0.1.7-r0) (23/133) Purging eudev-dev (3.2.10-r1) (24/133) Purging eudev-openrc (3.2.10-r1) (25/133) Purging eudev (3.2.10-r1) (26/133) Purging udev-init-scripts-openrc (35-r0) (27/133) Purging udev-init-scripts (35-r0) (28/133) Purging eudev-libs (3.2.10-r1) (29/133) Purging json-c-dev (0.15-r1) (30/133) Purging json-c (0.15-r1) (31/133) Purging libical-dev (3.0.11-r1) (32/133) Purging libxml2-dev (2.9.12-r1) (33/133) Purging xz-dev (5.2.5-r0) (34/133) Purging gobject-introspection-dev (1.70.0-r1) (35/133) Purging cairo-dev (1.16.0-r3) (36/133) Purging cairo-tools (1.16.0-r3) (37/133) Purging xcb-util-dev (0.4.0-r3) (38/133) Purging util-macros (1.19.3-r0) (39/133) Purging xcb-util (0.4.0-r3) (40/133) Purging cairo-gobject (1.16.0-r3) (41/133) Purging cairo (1.16.0-r3) (42/133) Purging libical (3.0.11-r1) (43/133) Purging readline-dev (8.1.1-r0) (44/133) Purging libhistory (8.1.1-r0) (45/133) Purging glib-dev (2.70.0-r1) (46/133) Purging gettext-dev (0.21-r0) (47/133) Purging gettext-asprintf (0.21-r0) (48/133) Purging gettext (0.21-r0) (49/133) Purging bzip2-dev (1.0.8-r1) (50/133) Purging docbook-xsl (1.79.2-r3) Executing docbook-xsl-1.79.2-r3.post-deinstall (51/133) Purging libxslt (1.1.34-r1) (52/133) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (53/133) Purging libxml2-utils (2.9.12-r1) (54/133) Purging autoconf (2.71-r0) (55/133) Purging m4 (1.4.18-r2) (56/133) Purging automake (1.16.4-r1) (57/133) Purging libtool (2.4.6-r7) (58/133) Purging bash (5.1.8-r0) Executing bash-5.1.8-r0.pre-deinstall (59/133) Purging libltdl (2.4.6-r7) (60/133) Purging ell-dev (0.44-r0) (61/133) Purging ell (0.44-r0) (62/133) Purging py3-docutils (0.16-r3) (63/133) Purging python3 (3.9.7-r3) (64/133) Purging util-linux-openrc (2.37.2-r1) (65/133) Purging git-perl (2.33.1-r0) (66/133) Purging perl-git (2.33.1-r0) (67/133) Purging perl-error (0.17029-r1) (68/133) Purging perl (5.34.0-r1) (69/133) Purging fontconfig-dev (2.13.1-r4) (70/133) Purging fontconfig (2.13.1-r4) (71/133) Purging util-linux-dev (2.37.2-r1) (72/133) Purging libfdisk (2.37.2-r1) (73/133) Purging libsmartcols (2.37.2-r1) (74/133) Purging libuuid (2.37.2-r1) (75/133) Purging util-linux (2.37.2-r1) (76/133) Purging gobject-introspection (1.70.0-r1) (77/133) Purging glib (2.70.0-r1) (78/133) Purging libmount (2.37.2-r1) (79/133) Purging libblkid (2.37.2-r1) (80/133) Purging libeconf (0.4.1-r0) (81/133) Purging linux-pam (1.5.2-r0) (82/133) Purging libcap-ng (0.8.2-r0) (83/133) Purging libusb-dev (1.0.24-r3) (84/133) Purging libusb (1.0.24-r3) (85/133) Purging kmod-libs (29-r2) (86/133) Purging libffi-dev (3.4.2-r1) (87/133) Purging linux-headers (5.10.41-r0) (88/133) Purging libffi (3.4.2-r1) (89/133) Purging gdbm (1.20-r2) (90/133) Purging mpdecimal (2.5.1-r1) (91/133) Purging readline (8.1.1-r0) (92/133) Purging sqlite-libs (3.36.0-r0) (93/133) Purging gettext-libs (0.21-r0) (94/133) Purging libintl (0.21-r0) (95/133) Purging libunistring (0.9.10-r1) (96/133) Purging libxml2 (2.9.12-r1) (97/133) Purging libgcrypt (1.9.4-r0) (98/133) Purging libgpg-error (1.42-r1) (99/133) Purging pcre-dev (8.45-r1) (100/133) Purging libpcre16 (8.45-r1) (101/133) Purging libpcre32 (8.45-r1) (102/133) Purging libpcrecpp (8.45-r1) (103/133) Purging pcre (8.45-r1) (104/133) Purging freetype-dev (2.11.0-r0) (105/133) Purging freetype (2.11.0-r0) (106/133) Purging libpng-dev (1.6.37-r1) (107/133) Purging libpng (1.6.37-r1) (108/133) Purging zlib-dev (1.2.11-r3) (109/133) Purging icu-dev (69.1-r0) (110/133) Purging icu (69.1-r0) (111/133) Purging icu-libs (69.1-r0) (112/133) Purging libxrender-dev (0.9.10-r3) (113/133) Purging libxrender (0.9.10-r3) (114/133) Purging libxext-dev (1.3.4-r0) (115/133) Purging libxext (1.3.4-r0) (116/133) Purging libx11-dev (1.7.2-r0) (117/133) Purging xtrans (1.4.0-r1) (118/133) Purging libx11 (1.7.2-r0) (119/133) Purging libxcb-dev (1.14-r2) (120/133) Purging xcb-proto (1.14.1-r2) (121/133) Purging libxcb (1.14-r2) (122/133) Purging libxau-dev (1.0.9-r0) (123/133) Purging libxau (1.0.9-r0) (124/133) Purging libxdmcp-dev (1.1.3-r0) (125/133) Purging libxdmcp (1.1.3-r0) (126/133) Purging libbsd (0.11.3-r1) (127/133) Purging libmd (1.0.3-r0) (128/133) Purging pixman-dev (0.40.0-r3) (129/133) Purging pixman (0.40.0-r3) (130/133) Purging expat-dev (2.4.1-r0) (131/133) Purging brotli-dev (1.0.9-r5) (132/133) Purging xorgproto (2021.5-r0) (133/133) Purging ncurses-dev (6.2_p20211017-r0) Executing busybox-1.34.1-r2.trigger OK: 345 MiB in 97 packages >>> bluez: Updating the main/x86_64 repository index... >>> bluez: Signing the index...