>>> bluez: Building main/bluez 5.63-r0 (using abuild 3.9.0-r0) started Wed, 19 Jan 2022 22:08:31 +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/135) Installing dbus-libs (1.12.20-r4) (2/135) Installing dbus (1.12.20-r4) Executing dbus-1.12.20-r4.pre-install Executing dbus-1.12.20-r4.post-install (3/135) Installing util-linux (2.37.2-r1) (4/135) Installing libblkid (2.37.2-r1) (5/135) Installing libeconf (0.4.2-r0) (6/135) Installing libuuid (2.37.2-r1) (7/135) Installing libfdisk (2.37.2-r1) (8/135) Installing libmount (2.37.2-r1) (9/135) Installing libsmartcols (2.37.2-r1) (10/135) Installing util-linux-misc (2.37.2-r1) (11/135) Installing linux-pam (1.5.2-r0) (12/135) Installing runuser (2.37.2-r1) (13/135) Installing hexdump (2.37.2-r1) (14/135) Installing uuidgen (2.37.2-r1) (15/135) Installing blkid (2.37.2-r1) (16/135) Installing sfdisk (2.37.2-r1) (17/135) Installing mcookie (2.37.2-r1) (18/135) Installing wipefs (2.37.2-r1) (19/135) Installing cfdisk (2.37.2-r1) (20/135) Installing flock (2.37.2-r1) (21/135) Installing lsblk (2.37.2-r1) (22/135) Installing libcap-ng (0.8.2-r0) (23/135) Installing setpriv (2.37.2-r1) (24/135) Installing logger (2.37.2-r1) (25/135) Installing partx (2.37.2-r1) (26/135) Installing findmnt (2.37.2-r1) (27/135) Installing util-linux-dev (2.37.2-r1) (28/135) Installing dbus-dev (1.12.20-r4) (29/135) Installing libusb (1.0.24-r3) (30/135) Installing libusb-compat (0.1.7-r1) (31/135) Installing libusb-dev (1.0.24-r3) (32/135) Installing libusb-compat-dev (0.1.7-r1) (33/135) Installing udev-init-scripts (35-r0) Executing udev-init-scripts-35-r0.post-install (34/135) Installing eudev-libs (3.2.11_pre1-r0) (35/135) Installing xz-libs (5.2.5-r0) (36/135) Installing kmod-libs (29-r2) (37/135) Installing eudev (3.2.11_pre1-r0) (38/135) Installing eudev-dev (3.2.11_pre1-r0) (39/135) Installing json-c (0.15-r1) (40/135) Installing json-c-dev (0.15-r1) (41/135) Installing zlib-dev (1.2.11-r3) (42/135) Installing xz-dev (5.2.5-r0) (43/135) Installing libxml2 (2.9.12-r2) (44/135) Installing libxml2-dev (2.9.12-r2) (45/135) Installing libbz2 (1.0.8-r1) (46/135) Installing libffi (3.4.2-r1) (47/135) Installing gdbm (1.22-r0) (48/135) Installing mpdecimal (2.5.1-r1) (49/135) Installing readline (8.1.1-r0) (50/135) Installing sqlite-libs (3.36.0-r0) (51/135) Installing python3 (3.9.7-r4) (52/135) Installing libxau (1.0.9-r0) (53/135) Installing libmd (1.0.3-r0) (54/135) Installing libbsd (0.11.3-r1) (55/135) Installing libxdmcp (1.1.3-r0) (56/135) Installing libxcb (1.14-r2) (57/135) Installing libx11 (1.7.2-r0) (58/135) Installing libxrender (0.9.10-r3) (59/135) Installing libxext (1.3.4-r0) (60/135) Installing libpng (1.6.37-r1) (61/135) Installing freetype (2.11.0-r0) (62/135) Installing fontconfig (2.13.1-r4) (63/135) Installing pixman (0.40.0-r3) (64/135) Installing cairo (1.16.0-r3) (65/135) Installing libintl (0.21-r0) (66/135) Installing pcre (8.45-r1) (67/135) Installing glib (2.70.1-r0) (68/135) Installing cairo-tools (1.16.0-r3) (69/135) Installing expat-dev (2.4.3-r0) (70/135) Installing brotli-dev (1.0.9-r5) (71/135) Installing libpng-dev (1.6.37-r1) (72/135) Installing freetype-dev (2.11.0-r0) (73/135) Installing fontconfig-dev (2.13.1-r4) (74/135) Installing xorgproto (2021.5-r0) (75/135) Installing libxau-dev (1.0.9-r0) (76/135) Installing xcb-proto (1.14.1-r2) (77/135) Installing libxdmcp-dev (1.1.3-r0) (78/135) Installing libxcb-dev (1.14-r2) (79/135) Installing xtrans (1.4.0-r1) (80/135) Installing libx11-dev (1.7.2-r0) (81/135) Installing libxext-dev (1.3.4-r0) (82/135) Installing libxrender-dev (0.9.10-r3) (83/135) Installing pixman-dev (0.40.0-r3) (84/135) Installing util-macros (1.19.3-r0) (85/135) Installing xcb-util (0.4.0-r3) (86/135) Installing xcb-util-dev (0.4.0-r3) (87/135) Installing cairo-gobject (1.16.0-r3) (88/135) Installing gettext-asprintf (0.21-r0) (89/135) Installing libunistring (0.9.10-r1) (90/135) Installing gettext-libs (0.21-r0) (91/135) Installing gettext (0.21-r0) (92/135) Installing gettext-dev (0.21-r0) (93/135) Installing bzip2-dev (1.0.8-r1) (94/135) Installing libxml2-utils (2.9.12-r2) (95/135) Installing libgpg-error (1.42-r1) (96/135) Installing libgcrypt (1.9.4-r0) (97/135) Installing libxslt (1.1.34-r1) (98/135) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (99/135) Installing docbook-xsl (1.79.2-r3) Executing docbook-xsl-1.79.2-r3.post-install (100/135) Installing linux-headers (5.10.41-r0) (101/135) Installing libffi-dev (3.4.2-r1) (102/135) Installing libpcre16 (8.45-r1) (103/135) Installing libpcre32 (8.45-r1) (104/135) Installing libpcrecpp (8.45-r1) (105/135) Installing pcre-dev (8.45-r1) (106/135) Installing glib-dev (2.70.1-r0) (107/135) Installing cairo-dev (1.16.0-r3) (108/135) Installing bash (5.1.8-r0) Executing bash-5.1.8-r0.post-install (109/135) Installing libltdl (2.4.6-r7) (110/135) Installing libtool (2.4.6-r7) (111/135) Installing gobject-introspection (1.70.0-r1) (112/135) Installing gobject-introspection-dev (1.70.0-r1) (113/135) Installing icu-libs (69.1-r1) (114/135) Installing libical (3.0.11-r2) (115/135) Installing icu (69.1-r1) (116/135) Installing icu-dev (69.1-r1) (117/135) Installing libical-dev (3.0.11-r2) (118/135) Installing libhistory (8.1.1-r0) (119/135) Installing ncurses-dev (6.3_p20211120-r0) (120/135) Installing readline-dev (8.1.1-r0) (121/135) Installing m4 (1.4.18-r2) (122/135) Installing perl (5.34.0-r1) (123/135) Installing autoconf (2.71-r0) (124/135) Installing automake (1.16.4-r1) (125/135) Installing ell (0.46-r0) (126/135) Installing ell-dev (0.46-r0) (127/135) Installing py3-docutils (0.16-r3) (128/135) Installing .makedepends-bluez (20220119.220831) (129/135) Installing util-linux-openrc (2.37.2-r1) (130/135) Installing dbus-openrc (1.12.20-r4) (131/135) Installing udev-init-scripts-openrc (35-r0) (132/135) Installing eudev-openrc (3.2.11_pre1-r0) (133/135) Installing perl-error (0.17029-r1) (134/135) Installing perl-git (2.34.1-r0) (135/135) Installing git-perl (2.34.1-r0) Executing busybox-1.34.1-r3.trigger Executing dbus-1.12.20-r4.trigger Executing eudev-3.2.11_pre1-r0.trigger Executing glib-2.70.1-r0.trigger No schema files found: removed existing output file. OK: 506 MiB in 226 packages >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/bluez-5.63.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 146 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.63.tar.xz >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/bluez-5.63.tar.xz >>> bluez: Checking sha512sums... bluez-5.63.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.63.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 573 (offset 34 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:36: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:36: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:36: 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... acinclude.m4:71: MISC_FLAGS is expanded from... configure.ac:47: the top level configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:52: the top level configure.ac:91: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:91: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:91: the top level configure.ac:104: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:104: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:104: the top level configure.ac:117: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:117: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:117: the top level configure.ac:130: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:130: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:130: the top level configure.ac:142: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:142: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:142: the top level configure.ac:156: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:156: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:156: the top level configure.ac:160: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:160: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:160: the top level configure.ac:164: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:164: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:164: the top level configure.ac:168: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:168: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:168: the top level configure.ac:172: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:172: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:172: the top level configure.ac:176: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:176: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:176: the top level configure.ac:180: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:180: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:180: the top level configure.ac:184: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:184: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:184: the top level configure.ac:188: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:188: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:188: the top level configure.ac:192: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:192: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:192: the top level configure.ac:196: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:196: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:196: the top level configure.ac:200: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:200: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:200: the top level configure.ac:204: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:204: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:204: the top level configure.ac:217: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:217: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:217: the top level configure.ac:229: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:229: the top level configure.ac:233: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:233: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:233: the top level configure.ac:244: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:244: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:244: the top level configure.ac:255: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:255: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:255: the top level configure.ac:265: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:265: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:265: the top level configure.ac:269: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:269: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:269: the top level configure.ac:284: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:284: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:284: 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:299: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:299: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:299: the top level configure.ac:313: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:313: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:313: 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:331: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:331: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:331: the top level configure.ac:344: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:344: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:344: the top level configure.ac:349: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:349: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:349: the top level configure.ac:354: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:354: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:354: the top level configure.ac:359: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:359: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:359: the top level configure.ac:364: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:364: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:364: the top level configure.ac:369: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:369: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:369: the top level configure.ac:373: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:373: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:373: the top level configure.ac:407: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:407: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:407: the top level configure.ac:429: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:429: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:429: the top level configure.ac:449: warning: AC_OUTPUT should be used without arguments. configure.ac:449: 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:577: warning: variable 'unit_test_mesh_crypto_SOURCES' is defined but no program or Makefile.am:577: library has 'unit_test_mesh_crypto' as canonical name (possible typo) Makefile.am:579: warning: variable 'unit_test_mesh_crypto_LDADD' is defined but no program or Makefile.am:579: 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 armv6-alpine-linux-musleabihf-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for armv6-alpine-linux-musleabihf-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 armv6-alpine-linux-musleabihf-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 whether gcc accepts -fsanitize=address... yes checking whether gcc accepts -fsanitize=leak... yes checking whether gcc accepts -fsanitize=undefined... yes checking build system type... armv6-alpine-linux-musleabihf checking host system type... armv6-alpine-linux-musleabihf 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/armv6-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv6-alpine-linux-musleabihf/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert armv6-alpine-linux-musleabihf file names to armv6-alpine-linux-musleabihf format... func_convert_file_noop checking how to convert armv6-alpine-linux-musleabihf file names to toolchain format... func_convert_file_noop checking for /usr/armv6-alpine-linux-musleabihf/bin/ld option to reload object files... -r checking for armv6-alpine-linux-musleabihf-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv6-alpine-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv6-alpine-linux-musleabihf-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv6-alpine-linux-musleabihf-strip... no checking for strip... strip checking for armv6-alpine-linux-musleabihf-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for armv6-alpine-linux-musleabihf-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/armv6-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for 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 linux/uinput.h... yes checking for linux/uhid.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 ell/shared GEN ell/internal GEN ell/ell.h GEN src/builtin.h GEN obexd/src/builtin.h GEN lib/bluetooth/bluetooth.h GEN lib/bluetooth/hci.h GEN lib/bluetooth/hci_lib.h GEN lib/bluetooth/l2cap.h GEN lib/bluetooth/sco.h GEN lib/bluetooth/sdp.h GEN lib/bluetooth/bnep.h GEN lib/bluetooth/rfcomm.h GEN lib/bluetooth/sdp_lib.h GEN lib/bluetooth/hidp.h GEN lib/bluetooth/cmtp.h make --no-print-directory all-am CC src/shared/libshared_mainloop_la-queue.lo CC src/shared/libshared_mainloop_la-util.lo CC src/shared/libshared_mainloop_la-mgmt.lo CC src/shared/libshared_mainloop_la-crypto.lo CC src/shared/libshared_mainloop_la-ecc.lo CC src/shared/libshared_mainloop_la-ringbuf.lo CC src/shared/libshared_mainloop_la-hci.lo CC src/shared/libshared_mainloop_la-hci-crypto.lo CC src/shared/libshared_mainloop_la-hfp.lo CC src/shared/libshared_mainloop_la-uhid.lo CC src/shared/libshared_mainloop_la-pcap.lo CC src/shared/libshared_mainloop_la-btsnoop.lo CC src/shared/libshared_mainloop_la-ad.lo CC src/shared/libshared_mainloop_la-att.lo CC src/shared/libshared_mainloop_la-gatt-helpers.lo CC src/shared/libshared_mainloop_la-gatt-client.lo CC src/shared/libshared_mainloop_la-gatt-server.lo CC src/shared/libshared_mainloop_la-gatt-db.lo CC src/shared/libshared_mainloop_la-gap.lo CC src/shared/libshared_mainloop_la-log.lo CC src/shared/libshared_mainloop_la-shell.lo CC src/shared/libshared_mainloop_la-io-mainloop.lo CC src/shared/libshared_mainloop_la-timeout-mainloop.lo CC src/shared/libshared_mainloop_la-mainloop.lo CC src/shared/libshared_mainloop_la-mainloop-notify.lo CC src/shared/libshared_ell_la-queue.lo CC src/shared/libshared_ell_la-util.lo CC src/shared/libshared_ell_la-mgmt.lo CC src/shared/libshared_ell_la-crypto.lo CC src/shared/libshared_ell_la-ecc.lo CC src/shared/libshared_ell_la-ringbuf.lo CC src/shared/libshared_ell_la-hci.lo CC src/shared/libshared_ell_la-hci-crypto.lo CC src/shared/libshared_ell_la-hfp.lo CC src/shared/libshared_ell_la-uhid.lo CC src/shared/libshared_ell_la-pcap.lo CC src/shared/libshared_ell_la-btsnoop.lo CC src/shared/libshared_ell_la-ad.lo CC src/shared/libshared_ell_la-att.lo CC src/shared/libshared_ell_la-gatt-helpers.lo CC src/shared/libshared_ell_la-gatt-client.lo CC src/shared/libshared_ell_la-gatt-server.lo CC src/shared/libshared_ell_la-gatt-db.lo CC src/shared/libshared_ell_la-gap.lo CC src/shared/libshared_ell_la-log.lo CC src/shared/libshared_ell_la-shell.lo CC src/shared/libshared_ell_la-io-ell.lo CC src/shared/libshared_ell_la-timeout-ell.lo CC tools/mesh-cfgtest.o CC src/shared/libshared_ell_la-mainloop-ell.lo CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_tialt.o CC tools/hciattach_ti.o CC tools/hciattach_qualcomm.o CC tools/hciattach_bcm43xx.o CC tools/hciconfig.o CC tools/hciattach_ath3k.o CC tools/hcitool.o CC tools/hciattach_intel.o CC tools/hcidump.o CC tools/rfcomm.o CC tools/sdptool.o CC src/sdp-xml.o In file included from tools/hcidump.c:30: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu 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/rtlfw.o CC tools/nokfw.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/obexctl.o CC tools/bluetooth-player.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 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 CC src/bluetoothd-sdpd-service.o 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 CC src/bluetoothd-service.o 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 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 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, | ^~~~~~~~ CC mesh/agent.o CC mesh/prov-acceptor.o CC mesh/prov-initiator.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 mesh/manager.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, | ^~~~~~~~ CC mesh/pb-adv.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, | ^~~~~~~~ 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, | ^~~~~~~~ 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 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 src/attrib-server.c: In function 'attrib_db_add_new': 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, | ^~~~~~~~ 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 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, | ^~~~~~~~ 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 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 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/libshared_glib_la-queue.lo CC src/shared/libshared_glib_la-util.lo CC src/shared/libshared_glib_la-mgmt.lo CC src/shared/libshared_glib_la-crypto.lo CC src/shared/libshared_glib_la-ecc.lo CC src/shared/libshared_glib_la-ringbuf.lo CC src/shared/libshared_glib_la-hci.lo CC src/shared/libshared_glib_la-hci-crypto.lo CC src/shared/libshared_glib_la-hfp.lo CC src/shared/libshared_glib_la-uhid.lo CC src/shared/libshared_glib_la-pcap.lo CC src/shared/libshared_glib_la-btsnoop.lo CC src/shared/libshared_glib_la-ad.lo CC src/shared/libshared_glib_la-att.lo CC src/shared/libshared_glib_la-gatt-helpers.lo CC src/shared/libshared_glib_la-gatt-server.lo CC src/shared/libshared_glib_la-gatt-client.lo CC src/shared/libshared_glib_la-gatt-db.lo CC src/shared/libshared_glib_la-gap.lo CC src/shared/libshared_glib_la-log.lo CC src/shared/libshared_glib_la-shell.lo CC src/shared/libshared_glib_la-io-glib.lo CC src/shared/libshared_glib_la-timeout-glib.lo CC src/shared/libshared_glib_la-mainloop-glib.lo CC src/shared/libshared_glib_la-mainloop-notify.lo CC src/shared/libshared_glib_la-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 monitor/packet.c: In function 'print_packet': monitor/packet.c:368:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 368 | n = sprintf(ts_str + ts_pos, " %02d:%02d:%02d.%06lu", | ~~~~^ | | | long unsigned int | %06llu 369 | tm.tm_hour, tm.tm_min, tm.tm_sec, tv->tv_usec); | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} monitor/packet.c:377:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 377 | n = sprintf(ts_str + ts_pos, " %lu.%06lu", | ~~^ | | | long unsigned int | %llu 378 | tv->tv_sec - time_offset, tv->tv_usec); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} monitor/packet.c:377:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 377 | n = sprintf(ts_str + ts_pos, " %lu.%06lu", | ~~~~^ | | | long unsigned int | %06llu 378 | tv->tv_sec - time_offset, tv->tv_usec); | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} CC lib/hci.lo CC lib/sdp.lo In file included from monitor/analyze.c:27: monitor/analyze.c: In function 'conn_destroy': ./monitor/display.h:46:9: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 46 | printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ | ^~~~~~~~~~~~~ ./monitor/display.h:56:3: note: in expansion of macro 'print_indent' 56 | print_indent(8, COLOR_OFF, "", "", COLOR_OFF, fmt, ## args) | ^~~~~~~~~~~~ monitor/analyze.c:174:2: note: in expansion of macro 'print_field' 174 | print_field("%ld msec min latency", | ^~~~~~~~~~~ ./monitor/display.h:46:9: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 46 | printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ | ^~~~~~~~~~~~~ ./monitor/display.h:56:3: note: in expansion of macro 'print_indent' 56 | print_indent(8, COLOR_OFF, "", "", COLOR_OFF, fmt, ## args) | ^~~~~~~~~~~~ monitor/analyze.c:177:2: note: in expansion of macro 'print_field' 177 | print_field("%ld msec max latency", | ^~~~~~~~~~~ ./monitor/display.h:46:9: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 46 | printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ | ^~~~~~~~~~~~~ ./monitor/display.h:56:3: note: in expansion of macro 'print_indent' 56 | print_indent(8, COLOR_OFF, "", "", COLOR_OFF, fmt, ## args) | ^~~~~~~~~~~~ monitor/analyze.c:180:2: note: in expansion of macro 'print_field' 180 | print_field("%ld msec median latency", | ^~~~~~~~~~~ CC lib/uuid.lo CCLD src/libshared-mainloop.la CC tools/rctest.o CC tools/l2test.o CC tools/l2ping.o CC tools/bluemoon.o client/gatt.c: In function 'str2bytearray': client/gatt.c:814:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 814 | 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 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 tools/rctest.c: In function 'recv_mode': tools/rctest.c:503:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 503 | sprintf(ts, "[%ld.%ld] ", | ~~^ | | | long int | %lld 504 | tv.tv_sec, tv.tv_usec); | ~~~~~~~~~ | | | time_t {aka long long int} tools/rctest.c:503:26: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 503 | sprintf(ts, "[%ld.%ld] ", | ~~^ | | | long int | %lld 504 | tv.tv_sec, tv.tv_usec); | ~~~~~~~~~~ | | | suseconds_t {aka long long int} CC tools/mesh-gatt/gatt.o CC tools/mesh-gatt/crypto.o tools/l2test.c: In function 'recv_mode': tools/l2test.c:896:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 896 | sprintf(ts, "[%ld.%ld] ", | ~~^ | | | long int | %lld 897 | tv.tv_sec, tv.tv_usec); | ~~~~~~~~~ | | | time_t {aka long long int} tools/l2test.c:896:26: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 896 | sprintf(ts, "[%ld.%ld] ", | ~~^ | | | long int | %lld 897 | tv.tv_sec, tv.tv_usec); | ~~~~~~~~~~ | | | suseconds_t {aka long long int} 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 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 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 ar: `u' modifier ignored since `D' is the default (see `U') CC tools/parser/l2cap.o CC tools/parser/amp.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/parser/smp.o CC tools/parser/att.o In file included from tools/parser/lmp.c:21: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/hci.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} CC tools/parser/sdp.o tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/parser.c:24: tools/parser/parser.h: In function 'p_indent': In file included from tools/parser/l2cap.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC tools/parser/rfcomm.o CC tools/parser/bnep.o CC tools/parser/cmtp.o CC tools/parser/hidp.o In file included from tools/parser/amp.c:15: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu 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 In file included from tools/parser/sdp.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC tools/parser/obex.o In file included from tools/parser/smp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC tools/parser/capi.o In file included from tools/parser/bnep.c:25: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/rfcomm.c:23: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu 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 In file included from tools/parser/att.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC profiles/cups/main.o ar: `u' modifier ignored since `D' is the default (see `U') CC profiles/cups/sdp.o In file included from tools/parser/avdtp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/hidp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} CC profiles/cups/spp.o tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC profiles/cups/hcrp.o In file included from tools/parser/avrcp.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/avctp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/obex.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CCLD tools/hcisecfilter In file included from tools/parser/cmtp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} CCLD tools/btinfo tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/hcrp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/ppp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/ericsson.c:19: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/capi.c:23: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/tcpip.c:30: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/sap.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu CCLD tools/btconfig tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CCLD tools/btsnoop In file included from tools/parser/csr.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CCLD tools/btproxy 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/eddystone CCLD tools/ibeacon In file included from tools/parser/bpa.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 123 | printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ", | ~~~~^ | | | long unsigned int | %06llu 124 | tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 125 | tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec); | ~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} tools/parser/parser.h:127:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~^ ~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %8llu tools/parser/parser.h:127:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu 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 CC attrib/gattrib.o CC attrib/interactive.o CC attrib/utils.o 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 CC profiles/audio/bluetoothd-control.o 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 CC obexd/plugins/obexd-bluetooth.o CC obexd/plugins/obexd-opp.o 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 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/src/obexd-service.o CC obexd/src/obexd-transport.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, | ^~~~~~~~ profiles/audio/avctp.c: In function 'avctp_send_req': 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, | ^~~~~~~~ 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:30: /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:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/src/obexd-server.o CC obexd/client/obexd-manager.o CC obexd/client/obexd-session.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, | ^~~~~~~~ CC obexd/client/obexd-bluetooth.o 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, | ^~~~~~~~ CC obexd/client/obexd-sync.o CC obexd/client/obexd-pbap.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, | ^~~~~~~~ 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 CCLD tools/hid2hci CCLD plugins/sixaxis.la CCLD gdbus/libgdbus-internal.la CCLD src/libshared-glib.la 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, | ^~~~~~~~ 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, | ^~~~~~~~ CCLD tools/bluemoon CCLD tools/hex2hcd CCLD tools/btattach 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, | ^~~~~~~~ CCLD lib/libbluetooth-internal.la CCLD lib/libbluetooth.la 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, | ^~~~~~~~ ar: `u' modifier ignored since `D' is the default (see `U') 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, | ^~~~~~~~ CCLD tools/mpris-proxy CCLD tools/gatt-service 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, | ^~~~~~~~ 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 profiles/iap/iapd CCLD ell/libell-internal.la 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, | ^~~~~~~~ ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/rctest CCLD tools/l2test CCLD tools/l2ping 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/bneptest CCLD tools/mcaptest CCLD tools/cltest CCLD tools/oobtest CCLD tools/advtest CCLD tools/btgatt-client CCLD tools/btgatt-server CCLD tools/btmgmt CCLD tools/obex-client-tool CCLD tools/obex-server-tool 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 ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/mesh-cfgclient CCLD tools/mesh-cfgtest CCLD mesh/bluetooth-meshd CCLD obexd/src/obexd 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 CC unit/test-lib.o CC unit/test-gatt.o CC unit/test-hog.o CC profiles/input/hog-lib.o CC profiles/scanparam/scpp.o CC profiles/battery/bas.o CC profiles/deviceinfo/dis.o CC unit/test-gattrib.o CC unit/test-eir.o CC unit/test-uuid.o CC unit/test-textfile.o CC android/avdtp.o CC android/avctp.o CC android/avrcp-lib.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, | ^~~~~~~~ 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-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-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-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-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-avrcp.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: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-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-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-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-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-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-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-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: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-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-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-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, | ^~~~~~~~ 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: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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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 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, | ^~~~~~~~ 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-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-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-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-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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-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-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-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-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-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-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-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-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-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-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-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-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: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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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: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-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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:218:2: note: in expansion of macro 'define_test' 218 | 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:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:218:2: note: in expansion of macro 'define_test' 218 | 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: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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_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: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, | ^~~~~~~~ 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)); | ^~~ 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 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, | ^~~~~~~~ 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, | ^~~~~~~~ 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-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-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-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, | ^~~~~~~~ profiles/scanparam/scpp.c: In function 'bt_scpp_new': 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, | ^~~~~~~~~~~ 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 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 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: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: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: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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /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-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-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-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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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: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-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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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: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-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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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, | ^~~~~~~~ profiles/battery/bas.c: In function 'bt_bas_new': 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, | ^~~~~~~~~~~ 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:263:2: note: in expansion of macro 'define_test' 263 | 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-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, | ^~~~~~~~ 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)); | ^~~ 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:263:2: note: in expansion of macro 'define_test' 263 | 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, | ^~~~~~~~ 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-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:263:2: note: in expansion of macro 'define_test' 263 | 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: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-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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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-avdtp.c: In function 'main': 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:263:2: note: in expansion of macro 'define_test' 263 | 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-avctp.c: In function 'main': 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ 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-hog.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:778:2: note: in expansion of macro 'define_test' 778 | define_test("/TP/SIG/SMG/BV-06-C-SEID-1", test_server_seid, | ^~~~~~~~~~~ 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:263:2: note: in expansion of macro 'define_test' 263 | 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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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-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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ 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-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: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, | ^~~~~~~~ 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-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-avctp.c:23: /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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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:263:2: note: in expansion of macro 'define_test' 263 | 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: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-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:263:2: note: in expansion of macro 'define_test' 263 | 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-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)); | ^~~~~~~~~~~ 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:263:2: note: in expansion of macro 'define_test' 263 | 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-avctp.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-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: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-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: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-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: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-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-avctp.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: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: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-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:783:2: note: in expansion of macro 'define_test' 783 | define_test("/TP/SIG/SMG/BV-05-C", test_client, | ^~~~~~~~~~~ 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-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: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-avctp.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-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-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: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-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: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-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-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-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-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:296:2: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ 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-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-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: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-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:296:2: note: in expansion of macro 'define_test' 296 | 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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-avctp.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-avdtp.c:23: /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:296:2: note: in expansion of macro 'define_test' 296 | 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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-avctp.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-avdtp.c:23: /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:296:2: note: in expansion of macro 'define_test' 296 | 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:296:2: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ 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-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-avdtp.c:23: /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:296:2: note: in expansion of macro 'define_test' 296 | 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: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-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:296:2: note: in expansion of macro 'define_test' 296 | 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:296:2: note: in expansion of macro 'define_test' 296 | 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: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-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:296:2: note: in expansion of macro 'define_test' 296 | 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-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-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:296:2: note: in expansion of macro 'define_test' 296 | 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-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, | ^~~~~~~~~~~ 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-avctp.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-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:296:2: note: in expansion of macro 'define_test' 296 | 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-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-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:296:2: note: in expansion of macro 'define_test' 296 | 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:296:2: note: in expansion of macro 'define_test' 296 | 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:296:2: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c:23: /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:296:2: note: in expansion of macro 'define_test' 296 | 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-avdtp.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-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:296:2: note: in expansion of macro 'define_test' 296 | 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-avdtp.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-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:296:2: note: in expansion of macro 'define_test' 296 | 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-avdtp.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-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: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-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-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-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-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-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-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-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-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: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-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: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-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: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-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: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-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-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-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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.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, | ^~~~~~~~~~~ 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-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: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-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: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-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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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-avdtp.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-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:317:2: note: in expansion of macro 'define_test' 317 | 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-avdtp.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-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, | ^~~~~~~~~~~ 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:317:2: note: in expansion of macro 'define_test' 317 | 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-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-avdtp.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-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:317:2: note: in expansion of macro 'define_test' 317 | 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-avdtp.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-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:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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:317:2: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c:23: /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:317:2: note: in expansion of macro 'define_test' 317 | 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-avdtp.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-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:317:2: note: in expansion of macro 'define_test' 317 | 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-avdtp.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-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:317:2: note: in expansion of macro 'define_test' 317 | 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-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, | ^~~~~~~~~~~ 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:317:2: note: in expansion of macro 'define_test' 317 | 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-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-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:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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:1347:2: note: in expansion of macro 'define_test' 1347 | define_test("/TP/MCN/SRC/BV-06-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:317:2: note: in expansion of macro 'define_test' 317 | 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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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:317:2: note: in expansion of macro 'define_test' 317 | 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:317:2: note: in expansion of macro 'define_test' 317 | 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:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:317:2: note: in expansion of macro 'define_test' 317 | 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: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-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-avdtp.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-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-avdtp.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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-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-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-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-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-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-avdtp.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-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-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: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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.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-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-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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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-avdtp.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-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:350:2: note: in expansion of macro 'define_test' 350 | 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-avdtp.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, | ^~~~~~~~~~~ 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:350:2: note: in expansion of macro 'define_test' 350 | 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-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-hog.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:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-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:350:2: note: in expansion of macro 'define_test' 350 | 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-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-hog.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:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-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:350:2: note: in expansion of macro 'define_test' 350 | 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-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-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:1412:2: note: in expansion of macro 'define_test' 1412 | define_test("/TP/MCN/NP/BV-07-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:350:2: note: in expansion of macro 'define_test' 350 | 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-avdtp.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-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:350:2: note: in expansion of macro 'define_test' 350 | 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-avdtp.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-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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-avdtp.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-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:350:2: note: in expansion of macro 'define_test' 350 | 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-avdtp.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-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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-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, | ^~~~~~~~~~~ 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:350:2: note: in expansion of macro 'define_test' 350 | 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-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-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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:1425:2: note: in expansion of macro 'define_test' 1425 | define_test("/TP/MCN/NP/BV-08-C", test_client, | ^~~~~~~~~~~ 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:1425:2: note: in expansion of macro 'define_test' 1425 | define_test("/TP/MCN/NP/BV-08-C", test_client, | ^~~~~~~~~~~ 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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:350:2: note: in expansion of macro 'define_test' 350 | 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-avdtp.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-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:350:2: note: in expansion of macro 'define_test' 350 | 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: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-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-avdtp.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-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-avdtp.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-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-avdtp.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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-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-avdtp.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, | ^~~~~~~~~~~ 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-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: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, | ^~~~~~~~ CCLD unit/test-crypto unit/test-avdtp.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-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-avdtp.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-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-avdtp.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-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-avdtp.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-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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-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:393:2: note: in expansion of macro 'define_test' 393 | 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:1483:2: note: in expansion of macro 'define_test' 1483 | define_test("/TP/CON/BV-03-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ 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:393:2: note: in expansion of macro 'define_test' 393 | 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-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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-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:393:2: note: in expansion of macro 'define_test' 393 | 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:1484:2: note: in expansion of macro 'define_test' 1484 | define_test("/TP/CON/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ 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:393:2: note: in expansion of macro 'define_test' 393 | 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-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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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, | ^~~~~~~~~~~ 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)); | ^~~~~~~~~~~ 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:393:2: note: in expansion of macro 'define_test' 393 | 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-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, | ^~~~~~~~ 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:393:2: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c:23: /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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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-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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-hog.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: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-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-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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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-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:393:2: note: in expansion of macro 'define_test' 393 | 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: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-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:393:2: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c:23: /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:393:2: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c:23: /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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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-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-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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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-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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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, | ^~~~~~~~~~~ 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-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-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:393:2: note: in expansion of macro 'define_test' 393 | 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-avdtp.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-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-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-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-hfp.c: In function 'main': 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-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-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-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, | ^~~~~~~~~~~ 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-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-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-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-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-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-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: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-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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-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-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: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-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-avdtp.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-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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:695:2: note: in expansion of macro 'define_test' 695 | define_test("/hfp/test_register_1", test_register, prefix_handler, | ^~~~~~~~~~~ unit/test-avdtp.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-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-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, | ^~~~~~~~~~~ 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-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: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-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: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: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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-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, | ^~~~~~~~~~~ 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-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-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-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-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-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-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, | ^~~~~~~~~~~ CCLD unit/test-crc 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:1525:2: note: in expansion of macro 'define_test' 1525 | define_test("/TP/PTT/BV-03-I", test_server, | ^~~~~~~~~~~ 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-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-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-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-avdtp.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-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-avdtp.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-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: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-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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-avdtp.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-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-avdtp.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, | ^~~~~~~~~~~ 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-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-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: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-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: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-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-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-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-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-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-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-sdp.c: In function 'main': 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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-sdp.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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ unit/test-avdtp.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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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: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-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-sdp.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-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: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-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-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", | ^~~~~~~~~ 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-avdtp.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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-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: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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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: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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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-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: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: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-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-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-avdtp.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-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-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: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-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-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-sdp.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: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-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, | ^~~~~~~~~~~ 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-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-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-gatt.c: In function 'test_server': 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-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-avdtp.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-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; | ^~~~~~~~ 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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c: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-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-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-avdtp.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-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:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ 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-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: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: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-avdtp.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-sdp.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: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-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-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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-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: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: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-sdp.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-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: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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ 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-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, | ^~~~~~~~ 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: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-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-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-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-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-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, | ^~~~~~~~~~~ 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-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: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: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-sdp.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: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-avdtp.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-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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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: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-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:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ 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-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: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", | ^~~~~~~~~ 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-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: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-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: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-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-avdtp.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-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: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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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-sdp.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: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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-sdp.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-avdtp.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-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:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ 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-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: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-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:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ unit/test-sdp.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-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: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-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, | ^~~~~~~~~~~~~~ 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-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: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: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-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: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: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-avdtp.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-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-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: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-sdp.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-avdtp.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-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: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: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-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: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-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: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-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-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-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: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-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-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: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: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-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-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", | ^~~~~~~~~ unit/test-avdtp.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-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: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: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-avdtp.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, | ^~~~~~~~~~~ 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-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-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, | ^~~~~~~~~~~~~~ unit/test-avdtp.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-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: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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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-sdp.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-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-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-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-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-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-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-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-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: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-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-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-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:979:2: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-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: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-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: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-avdtp.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-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-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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-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: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-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-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-sdp.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-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: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, | ^~~~~~~~ profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': 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, | ^~~~~~~~~~~ unit/test-sdp.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-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, | ^~~~~~~~ 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)); | ^~~ unit/test-avdtp.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 profiles/deviceinfo/dis.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: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-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-avdtp.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-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-gatt.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-avdtp.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, | ^~~~~~~~~~~ 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-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-gatt.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-avdtp.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-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-sdp.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", | ^~~~~~~~~ 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-gatt.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-avdtp.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, | ^~~~~~~~~~~ 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-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-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: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-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: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: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, | ^~~~~~~~~~~ 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-gatt.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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.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: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-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-gatt.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-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-gatt.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: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-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: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-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: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:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-gatt.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-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: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-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-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:1688:2: note: in expansion of macro 'define_test' 1688 | define_test("/TP/PAS/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: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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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: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-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-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: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-gatt.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-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-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-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: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-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:1701:2: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-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:894:2: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ 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-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-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-avdtp.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-sdp.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", | ^~~~~~~~~ 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-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-avdtp.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-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: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-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-gatt.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, | ^~~~~~~~~~~~~~~ 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-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-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: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: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-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:1715:2: note: in expansion of macro 'define_test' 1715 | define_test("/TP/PAS/BI-04-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.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-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-gatt.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: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-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: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-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, | ^~~~~~~~~~~~~~ unit/test-gatt.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-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-gatt.c: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-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-sdp.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", | ^~~~~~~~~ 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-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: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-gatt.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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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: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-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:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ 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-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-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-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: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-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: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-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, | ^~~~~~~~~~~~~~ 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:1728:2: note: in expansion of macro 'define_test' 1728 | define_test("/TP/PAS/BI-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: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-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-avdtp.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-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, | ^~~~~~~~~~~~~~ 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:1010:2: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ 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-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-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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-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-hfp.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:108: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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: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-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-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-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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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: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: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-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-sdp.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-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-sdp.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-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, | ^~~~~~~~ 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-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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-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-avdtp.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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ 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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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, | ^~~~~~~~~~~ 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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, | ^~~~~~~~~~~ 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-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: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-avdtp.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-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-avdtp.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-sdp.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-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-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-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: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-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: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-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-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-sdp.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-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-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-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: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-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-avdtp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-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-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: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: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-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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-avdtp.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-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-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: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-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-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: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: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-gatt.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:1797:2: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-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: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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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: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-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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-avdtp.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-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: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-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-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-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", | ^~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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: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-sdp.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-avdtp.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, | ^~~~~~~~~~~ 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-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:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-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: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-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, | ^~~~~~~~ CCLD unit/test-uhid 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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-avdtp.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-gatt.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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-gatt.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-avdtp.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-gatt.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-avdtp.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-gatt.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: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:1832:2: note: in expansion of macro 'define_test' 1832 | define_test("/TP/NFY/BV-04-C", test_server, | ^~~~~~~~~~~ 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-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-gatt.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: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:1832:2: note: in expansion of macro 'define_test' 1832 | define_test("/TP/NFY/BV-04-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.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-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-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: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-sdp.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-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-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-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: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: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-avdtp.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-gatt.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", | ^~~~~~~~~~~~~~~ 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-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-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: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-sdp.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: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-gatt.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-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-avdtp.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-sdp.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-gatt.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-avdtp.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-sdp.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-gatt.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", | ^~~~~~~~~~~~~~~ unit/test-avdtp.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-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-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: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: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-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-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-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", | ^~~~~~~~~ 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-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: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-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-avdtp.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-sdp.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: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-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-gatt.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-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-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-avdtp.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-sdp.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-gatt.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-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-avdtp.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-sdp.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-gatt.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-avdtp.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-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-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", | ^~~~~~~~~ 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-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-gatt.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-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-gatt.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-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-gatt.c: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: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-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-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-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-sdp.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-avdtp.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-sdp.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-avdtp.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-sdp.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-avdtp.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-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-avdtp.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-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: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-avdtp.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-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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ 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-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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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-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: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, | ^~~~~~~~ android/avctp.c: In function 'avctp_send_req': unit/test-sdp.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:1908:2: note: in expansion of macro 'define_test' 1908 | define_test("/TP/BGN/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: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-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, | ^~~~~~~~ android/avctp.c:1180:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1180 | 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:31: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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-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: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-avdtp.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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.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-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-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: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: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", | ^~~~~~~~~ unit/test-avdtp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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, | ^~~~~~~~~~~ android/avctp.c: In function 'avctp_send_browsing_req': In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avctp.c:1221:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1221 | 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:31: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ 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-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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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-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, | ^~~~~~~~~~~ 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-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-gatt.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:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-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: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-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: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: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-sdp.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:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-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", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-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, | ^~~~~~~~~~~ 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-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: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-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-avdtp.c: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-avdtp.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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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, | ^~~~~~~~~~~ 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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-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: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: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: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: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-avdtp.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-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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.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-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-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: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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-avdtp.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-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: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", | ^~~~~~~~~ unit/test-avdtp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-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-avdtp.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-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-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-gatt.c: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: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-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: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, | ^~~~~~~~ CCLD 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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-avdtp.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-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-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-avdtp.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-sdp.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: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-avdtp.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-sdp.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-avdtp.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-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-avdtp.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-sdp.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-avdtp.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, | ^~~~~~~~ CCLD unit/test-ecc unit/test-sdp.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", | ^~~~~~~~~ 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-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-avdtp.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-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, | ^~~~~~~~ unit/test-gatt.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-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-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-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: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-gatt.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-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: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-gatt.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-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: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-gatt.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: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-avdtp.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-gatt.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: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-avdtp.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-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, | ^~~~~~~~~~~ unit/test-gatt.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-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-gatt.c: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: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-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-avdtp.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-gatt.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-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-avdtp.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-gatt.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-avdtp.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-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: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-avdtp.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-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-gatt.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-avdtp.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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.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-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-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-avdtp.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-sdp.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-gatt.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-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-sdp.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-gatt.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-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-gatt.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: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-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-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-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-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-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: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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-avdtp.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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-gatt.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: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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.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-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-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:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-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: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-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-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: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-avdtp.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: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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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-sdp.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: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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-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:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-gatt.c: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-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: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", | ^~~~~~~~~ unit/test-avdtp.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-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-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-gatt.c: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: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: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", | ^~~~~~~~~ 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-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-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-avdtp.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: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", | ^~~~~~~~~ unit/test-avdtp.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-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: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-avdtp.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: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-avdtp.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-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-avdtp.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-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-sdp.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-gatt.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: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-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-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, | ^~~~~~~~ PASS: unit/test-crypto unit/test-gatt.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: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-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-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-gatt.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: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", | ^~~~~~~~~ unit/test-avdtp.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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c: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: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: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-gatt.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-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-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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c: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: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-gatt.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-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, | ^~~~~~~~~~~ unit/test-sdp.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-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-avdtp.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-gatt.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-avdtp.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: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: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-avdtp.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-gatt.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: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, | ^~~~~~~~ android/avrcp-lib.c: In function 'parse_folder_list': unit/test-avdtp.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-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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c: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: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: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, | ^~~~~~~~ CCLD unit/test-mgmt 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-sdp.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", | ^~~~~~~~~~ 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 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 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-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", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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", | ^~~~~~~~~~ unit/test-avdtp.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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ 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-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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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", | ^~~~~~~~~~ unit/test-avdtp.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-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-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, | ^~~~~~~~ unit/test-avdtp.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: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-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-avdtp.c: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:1210:2: note: in expansion of macro 'define_test' 1210 | define_test("/TP/SIG/SMG/BI-28-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: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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c: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-sdp.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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-avdtp.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-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-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, | ^~~~~~~~~~~ PASS: unit/test-crc In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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: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-avdtp.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-avdtp.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, | ^~~~~~~~~~~ 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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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-avdtp.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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-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-avdtp.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-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-avdtp.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-sdp.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-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-sdp.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: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-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, | ^~~~~~~~~~~ unit/test-gatt.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-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-gatt.c: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:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-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: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-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-gatt.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-avdtp.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-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-sdp.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-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-avdtp.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-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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-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-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: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, | ^~~~~~~~ CCLD unit/test-gobex-apparam 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-gatt.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: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-gatt.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-avdtp.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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.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-avdtp.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: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", | ^~~~~~~~~~ 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-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-avdtp.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-sdp.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-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-sdp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-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-avdtp.c: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-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-avdtp.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-avdtp.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-avdtp.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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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-sdp.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", | ^~~~~~~~~~ unit/test-avdtp.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-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-avdtp.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-sdp.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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-avdtp.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: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, | ^~~~~~~~ unit/test-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-avdtp.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-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-avdtp.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: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-avdtp.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-avdtp.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: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-avdtp.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-gatt.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, | ^~~~~~~~~~~~~~~ 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-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-avdtp.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-avdtp.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-gatt.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-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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.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-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: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: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-gatt.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-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-avdtp.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-gatt.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-avdtp.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-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: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-avdtp.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: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", | ^~~~~~~~~~ unit/test-avdtp.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-avdtp.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: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-avdtp.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: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: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-sdp.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-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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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: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", | ^~~~~~~~~~ unit/test-avdtp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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: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-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, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c: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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.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-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-avdtp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-avdtp.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: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-avdtp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ 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-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: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: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", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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-sdp.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", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:1680:2: note: in expansion of macro 'define_ssa' 1680 | define_ssa("BV-11-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: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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: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", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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: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-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: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-sdp.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-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-sdp.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, | ^~~~~~~~ PASS: 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:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-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:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-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:105: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, | ^~~~~~~~ CCLD unit/test-uuid unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~ CCLD unit/test-lib 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, | ^~~~~~~~~~~~~~~~~~ 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-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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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-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: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-sdp.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-sdp.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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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:105: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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: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, | ^~~~~~~~ PASS: unit/test-mgmt 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-sdp.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-sdp.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-sdp.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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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", | ^~~~~~~~~~ PASS: unit/test-gobex-apparam In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ 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-sdp.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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ 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-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:105: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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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:105: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-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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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:105: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-sdp.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, | ^~~~~~~~ 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: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-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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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:105: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-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:105: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-sdp.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:105: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-sdp.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: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-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-sdp.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-sdp.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-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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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:105: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-sdp.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:105: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, | ^~~~~~~~~~~~~~~~~~ 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", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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:105: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-sdp.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:105: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-sdp.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:105: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-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:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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:105: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-sdp.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:105: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-sdp.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:105: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-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:105: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-sdp.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:105: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-sdp.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: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-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, | ^~~~~~~~ PASS: 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: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-sdp.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-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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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:105: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-sdp.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:105: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-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:105: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-sdp.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:105: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, | ^~~~~~~~~~~~~~~~~~ CCLD unit/test-gobex-header In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:105: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-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:105: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-sdp.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:105: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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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:105: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-sdp.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:105: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-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:105: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-sdp.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:105: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-sdp.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:105: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-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:105: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-sdp.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-sdp.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-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-sdp.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:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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:105: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-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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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-sdp.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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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:105: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-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:108: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, | ^~~~~~~~ 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:108: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, | ^~~~~~~~ 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:108: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-sdp.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: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-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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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, | ^~~~~~~~ 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: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-sdp.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: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-sdp.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, | ^~~~~~~~ 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: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-sdp.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: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, | ^~~~~~~~~~~~~~~ unit/test-sdp.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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.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-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: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-sdp.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: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-sdp.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: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-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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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: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-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:108: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: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, | ^~~~~~~~ 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: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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-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: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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: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, | ^~~~~~~~ PASS: unit/test-textfile unit/test-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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-header unit/test-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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: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-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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-sdp.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:108: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-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:108: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-sdp.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: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-sdp.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-sdp.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-sdp.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: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-sdp.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: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-sdp.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: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-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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-sdp.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: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-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-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: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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-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:105: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-sdp.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:105: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: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-sdp.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-sdp.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-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:105: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-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:105: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-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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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-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: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-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: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-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: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-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: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-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: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-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: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-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: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-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", | ^~~~~~~~~~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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: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-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", | ^~~~~~~~~~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-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-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-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-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: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-sdp.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-sdp.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-sdp.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-sdp.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: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-sdp.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: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-sdp.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: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-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: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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ CCLD 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: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, | ^~~~~~~~ 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: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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ PASS: 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: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, | ^~~~~~~~ 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:105: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, | ^~~~~~~~ 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: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, | ^~~~~~~~ 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:105: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, | ^~~~~~~~ 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: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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ PASS: 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: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, | ^~~~~~~~ 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:108: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, | ^~~~~~~~ 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:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ 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, | ^~~~~~~~ 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: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: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, | ^~~~~~~~ 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: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, | ^~~~~~~~ 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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ 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: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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~ 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: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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-ringbuf CCLD unit/test-sdp PASS: unit/test-sdp PASS: unit/test-gobex-transfer PASS: unit/test-avdtp PASS: unit/test-avrcp CCLD unit/test-gatt PASS: unit/test-gatt ============================================================================ Testsuite summary for bluez 5.63 ============================================================================ # 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/lib/pkgconfig' ./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/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' /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' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' 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 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' /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' 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 profiles/cups/bluetooth /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend/bluetooth 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 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-armhf.so.1 so:libreadline.so.8 >>> bluez-btmgmt*: Package size: 324.0 KB >>> bluez-btmgmt*: Compressing data... >>> bluez-btmgmt*: Create checksum... >>> bluez-btmgmt*: Create bluez-btmgmt-5.63-r0.apk >>> bluez-btmon*: Tracing dependencies... dbus so:libc.musl-armhf.so.1 so:libudev.so.1 >>> bluez-btmon*: Package size: 808.0 KB >>> bluez-btmon*: Compressing data... >>> bluez-btmon*: Create checksum... >>> bluez-btmon*: Create bluez-btmon-5.63-r0.apk >>> bluez-cups*: Tracing dependencies... dbus so:libc.musl-armhf.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 >>> bluez-cups*: Package size: 212.0 KB >>> bluez-cups*: Compressing data... >>> bluez-cups*: Create checksum... >>> bluez-cups*: Create bluez-cups-5.63-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.63-r0.apk >>> bluez-deprecated*: Tracing dependencies... dbus so:libc.musl-armhf.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.63-r0.apk >>> bluez-dev*: Tracing dependencies... bluez-libs=5.63-r0 pkgconfig >>> bluez-dev*: Package size: 188.0 KB >>> bluez-dev*: Compressing data... >>> bluez-dev*: Create checksum... >>> bluez-dev*: Create bluez-dev-5.63-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.63-r0.apk >>> bluez-hid2hci*: Tracing dependencies... dbus so:libc.musl-armhf.so.1 so:libudev.so.1 >>> bluez-hid2hci*: Package size: 32.0 KB >>> bluez-hid2hci*: Compressing data... >>> bluez-hid2hci*: Create checksum... >>> bluez-hid2hci*: Create bluez-hid2hci-5.63-r0.apk >>> bluez-libs*: Tracing dependencies... so:libc.musl-armhf.so.1 >>> bluez-libs*: Package size: 192.0 KB >>> bluez-libs*: Compressing data... >>> bluez-libs*: Create checksum... >>> bluez-libs*: Create bluez-libs-5.63-r0.apk >>> bluez-meshctl*: Tracing dependencies... dbus so:libc.musl-armhf.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: 220.0 KB >>> bluez-meshctl*: Compressing data... >>> bluez-meshctl*: Create checksum... >>> bluez-meshctl*: Create bluez-meshctl-5.63-r0.apk >>> bluez-obexd*: Tracing dependencies... dbus so:libc.musl-armhf.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libicalvcal.so.3 >>> bluez-obexd*: Package size: 468.0 KB >>> bluez-obexd*: Compressing data... >>> bluez-obexd*: Create checksum... >>> bluez-obexd*: Create bluez-obexd-5.63-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.63-r0.apk >>> bluez-plugins*: Tracing dependencies... dbus so:libc.musl-armhf.so.1 so:libudev.so.1 >>> bluez-plugins*: Package size: 44.0 KB >>> bluez-plugins*: Compressing data... >>> bluez-plugins*: Create checksum... >>> bluez-plugins*: Create bluez-plugins-5.63-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.63-r0.apk >>> bluez*: Tracing dependencies... dbus so:libc.musl-armhf.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: 2.8 MB >>> bluez*: Compressing data... >>> bluez*: Create checksum... >>> bluez*: Create bluez-5.63-r0.apk >>> bluez: Build complete at Wed, 19 Jan 2022 22:09:23 +0000 elapsed time 0h 0m 52s >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Uninstalling dependencies... (1/135) Purging util-linux-misc (2.37.2-r1) (2/135) Purging runuser (2.37.2-r1) (3/135) Purging hexdump (2.37.2-r1) (4/135) Purging uuidgen (2.37.2-r1) (5/135) Purging blkid (2.37.2-r1) (6/135) Purging sfdisk (2.37.2-r1) (7/135) Purging mcookie (2.37.2-r1) (8/135) Purging wipefs (2.37.2-r1) (9/135) Purging cfdisk (2.37.2-r1) (10/135) Purging flock (2.37.2-r1) (11/135) Purging lsblk (2.37.2-r1) (12/135) Purging setpriv (2.37.2-r1) (13/135) Purging logger (2.37.2-r1) (14/135) Purging partx (2.37.2-r1) (15/135) Purging findmnt (2.37.2-r1) (16/135) Purging .makedepends-bluez (20220119.220831) (17/135) Purging dbus-openrc (1.12.20-r4) (18/135) Purging dbus (1.12.20-r4) (19/135) Purging dbus-dev (1.12.20-r4) (20/135) Purging dbus-libs (1.12.20-r4) (21/135) Purging libusb-compat-dev (0.1.7-r1) (22/135) Purging libusb-compat (0.1.7-r1) (23/135) Purging eudev-dev (3.2.11_pre1-r0) (24/135) Purging eudev-openrc (3.2.11_pre1-r0) (25/135) Purging eudev (3.2.11_pre1-r0) (26/135) Purging udev-init-scripts-openrc (35-r0) (27/135) Purging udev-init-scripts (35-r0) (28/135) Purging eudev-libs (3.2.11_pre1-r0) (29/135) Purging json-c-dev (0.15-r1) (30/135) Purging json-c (0.15-r1) (31/135) Purging libical-dev (3.0.11-r2) (32/135) Purging libxml2-dev (2.9.12-r2) (33/135) Purging xz-dev (5.2.5-r0) (34/135) Purging gobject-introspection-dev (1.70.0-r1) (35/135) Purging cairo-dev (1.16.0-r3) (36/135) Purging cairo-tools (1.16.0-r3) (37/135) Purging xcb-util-dev (0.4.0-r3) (38/135) Purging util-macros (1.19.3-r0) (39/135) Purging xcb-util (0.4.0-r3) (40/135) Purging cairo-gobject (1.16.0-r3) (41/135) Purging cairo (1.16.0-r3) (42/135) Purging libical (3.0.11-r2) (43/135) Purging readline-dev (8.1.1-r0) (44/135) Purging libhistory (8.1.1-r0) (45/135) Purging glib-dev (2.70.1-r0) (46/135) Purging gettext-dev (0.21-r0) (47/135) Purging gettext-asprintf (0.21-r0) (48/135) Purging gettext (0.21-r0) (49/135) Purging bzip2-dev (1.0.8-r1) (50/135) Purging docbook-xsl (1.79.2-r3) Executing docbook-xsl-1.79.2-r3.post-deinstall (51/135) Purging libxslt (1.1.34-r1) (52/135) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (53/135) Purging libxml2-utils (2.9.12-r2) (54/135) Purging autoconf (2.71-r0) (55/135) Purging m4 (1.4.18-r2) (56/135) Purging automake (1.16.4-r1) (57/135) Purging libtool (2.4.6-r7) (58/135) Purging bash (5.1.8-r0) Executing bash-5.1.8-r0.pre-deinstall (59/135) Purging libltdl (2.4.6-r7) (60/135) Purging ell-dev (0.46-r0) (61/135) Purging ell (0.46-r0) (62/135) Purging py3-docutils (0.16-r3) (63/135) Purging python3 (3.9.7-r4) (64/135) Purging util-linux-openrc (2.37.2-r1) (65/135) Purging git-perl (2.34.1-r0) (66/135) Purging perl-git (2.34.1-r0) (67/135) Purging perl-error (0.17029-r1) (68/135) Purging perl (5.34.0-r1) (69/135) Purging fontconfig-dev (2.13.1-r4) (70/135) Purging fontconfig (2.13.1-r4) (71/135) Purging util-linux-dev (2.37.2-r1) (72/135) Purging libfdisk (2.37.2-r1) (73/135) Purging libsmartcols (2.37.2-r1) (74/135) Purging libuuid (2.37.2-r1) (75/135) Purging util-linux (2.37.2-r1) (76/135) Purging gobject-introspection (1.70.0-r1) (77/135) Purging glib (2.70.1-r0) (78/135) Purging libmount (2.37.2-r1) (79/135) Purging libblkid (2.37.2-r1) (80/135) Purging libeconf (0.4.2-r0) (81/135) Purging linux-pam (1.5.2-r0) (82/135) Purging libcap-ng (0.8.2-r0) (83/135) Purging libusb-dev (1.0.24-r3) (84/135) Purging libusb (1.0.24-r3) (85/135) Purging kmod-libs (29-r2) (86/135) Purging libxml2 (2.9.12-r2) (87/135) Purging xz-libs (5.2.5-r0) (88/135) Purging freetype-dev (2.11.0-r0) (89/135) Purging freetype (2.11.0-r0) (90/135) Purging libpng-dev (1.6.37-r1) (91/135) Purging libpng (1.6.37-r1) (92/135) Purging zlib-dev (1.2.11-r3) (93/135) Purging libbz2 (1.0.8-r1) (94/135) Purging libffi-dev (3.4.2-r1) (95/135) Purging linux-headers (5.10.41-r0) (96/135) Purging libffi (3.4.2-r1) (97/135) Purging gdbm (1.22-r0) (98/135) Purging mpdecimal (2.5.1-r1) (99/135) Purging readline (8.1.1-r0) (100/135) Purging sqlite-libs (3.36.0-r0) (101/135) Purging libxrender-dev (0.9.10-r3) (102/135) Purging libxrender (0.9.10-r3) (103/135) Purging libxext-dev (1.3.4-r0) (104/135) Purging libxext (1.3.4-r0) (105/135) Purging libx11-dev (1.7.2-r0) (106/135) Purging xtrans (1.4.0-r1) (107/135) Purging libx11 (1.7.2-r0) (108/135) Purging libxcb-dev (1.14-r2) (109/135) Purging xcb-proto (1.14.1-r2) (110/135) Purging libxcb (1.14-r2) (111/135) Purging libxau-dev (1.0.9-r0) (112/135) Purging libxau (1.0.9-r0) (113/135) Purging libxdmcp-dev (1.1.3-r0) (114/135) Purging libxdmcp (1.1.3-r0) (115/135) Purging libbsd (0.11.3-r1) (116/135) Purging libmd (1.0.3-r0) (117/135) Purging pixman-dev (0.40.0-r3) (118/135) Purging pixman (0.40.0-r3) (119/135) Purging gettext-libs (0.21-r0) (120/135) Purging libintl (0.21-r0) (121/135) Purging pcre-dev (8.45-r1) (122/135) Purging libpcre16 (8.45-r1) (123/135) Purging libpcre32 (8.45-r1) (124/135) Purging libpcrecpp (8.45-r1) (125/135) Purging pcre (8.45-r1) (126/135) Purging expat-dev (2.4.3-r0) (127/135) Purging brotli-dev (1.0.9-r5) (128/135) Purging xorgproto (2021.5-r0) (129/135) Purging libunistring (0.9.10-r1) (130/135) Purging libgcrypt (1.9.4-r0) (131/135) Purging libgpg-error (1.42-r1) (132/135) Purging icu-dev (69.1-r1) (133/135) Purging icu (69.1-r1) (134/135) Purging icu-libs (69.1-r1) (135/135) Purging ncurses-dev (6.3_p20211120-r0) Executing busybox-1.34.1-r3.trigger OK: 286 MiB in 91 packages >>> bluez: Updating the main/armhf repository index... >>> bluez: Signing the index...