>>> bluez: Building main/bluez 5.58-r2 (using abuild 3.8.0_rc4-r0) started Mon, 14 Jun 2021 07:49:52 +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 (1/130) Installing dbus-libs (1.12.20-r2) (2/130) Installing dbus (1.12.20-r2) Executing dbus-1.12.20-r2.pre-install Executing dbus-1.12.20-r2.post-install (3/130) Installing libblkid (2.37-r0) (4/130) Installing blkid (2.37-r0) (5/130) Installing libcap-ng (0.8.2-r0) (6/130) Installing setpriv (2.37-r0) (7/130) Installing libmount (2.37-r0) (8/130) Installing libsmartcols (2.37-r0) (9/130) Installing findmnt (2.37-r0) (10/130) Installing mcookie (2.37-r0) (11/130) Installing hexdump (2.37-r0) (12/130) Installing lsblk (2.37-r0) (13/130) Installing libuuid (2.37-r0) (14/130) Installing libfdisk (2.37-r0) (15/130) Installing sfdisk (2.37-r0) (16/130) Installing cfdisk (2.37-r0) (17/130) Installing partx (2.37-r0) (18/130) Installing flock (2.37-r0) (19/130) Installing logger (2.37-r0) (20/130) Installing uuidgen (2.37-r0) (21/130) Installing libeconf (0.3.8-r1) (22/130) Installing util-linux (2.37-r0) (23/130) Installing util-linux-dev (2.37-r0) (24/130) Installing dbus-dev (1.12.20-r2) (25/130) Installing libusb (1.0.24-r2) (26/130) Installing libusb-compat (0.1.5-r4) (27/130) Installing libusb-dev (1.0.24-r2) (28/130) Installing libusb-compat-dev (0.1.5-r4) (29/130) Installing udev-init-scripts (34-r0) Executing udev-init-scripts-34-r0.post-install (30/130) Installing eudev-libs (3.2.10-r0) (31/130) Installing xz-libs (5.2.5-r0) (32/130) Installing kmod-libs (29-r0) (33/130) Installing eudev (3.2.10-r0) (34/130) Installing eudev-dev (3.2.10-r0) (35/130) Installing json-c (0.15-r1) (36/130) Installing json-c-dev (0.15-r1) (37/130) Installing libbz2 (1.0.8-r1) (38/130) Installing libffi (3.3-r2) (39/130) Installing gdbm (1.19-r0) (40/130) Installing mpdecimal (2.5.1-r1) (41/130) Installing readline (8.1.0-r0) (42/130) Installing sqlite-libs (3.35.5-r0) (43/130) Installing python3 (3.9.5-r1) (44/130) Installing gettext-asprintf (0.21-r0) (45/130) Installing libintl (0.21-r0) (46/130) Installing libunistring (0.9.10-r1) (47/130) Installing gettext-libs (0.21-r0) (48/130) Installing libxml2 (2.9.12-r1) (49/130) Installing gettext (0.21-r0) (50/130) Installing gettext-dev (0.21-r0) (51/130) Installing bzip2-dev (1.0.8-r1) (52/130) Installing libxml2-utils (2.9.12-r1) (53/130) Installing libgpg-error (1.42-r0) (54/130) Installing libgcrypt (1.9.3-r0) (55/130) Installing libxslt (1.1.34-r1) (56/130) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (57/130) Installing docbook-xsl (1.79.2-r2) Executing docbook-xsl-1.79.2-r2.post-install (58/130) Installing pcre (8.44-r0) (59/130) Installing glib (2.68.2-r0) (60/130) Installing linux-headers (5.10.41-r0) (61/130) Installing libffi-dev (3.3-r2) (62/130) Installing libpcre16 (8.44-r0) (63/130) Installing libpcre32 (8.44-r0) (64/130) Installing libpcrecpp (8.44-r0) (65/130) Installing pcre-dev (8.44-r0) (66/130) Installing zlib-dev (1.2.11-r3) (67/130) Installing glib-dev (2.68.2-r0) (68/130) Installing icu-libs (67.1-r2) (69/130) Installing icu (67.1-r2) (70/130) Installing icu-dev (67.1-r2) (71/130) Installing xz-dev (5.2.5-r0) (72/130) Installing libxml2-dev (2.9.12-r1) (73/130) Installing libxau (1.0.9-r0) (74/130) Installing libmd (1.0.3-r0) (75/130) Installing libbsd (0.11.3-r0) (76/130) Installing libxdmcp (1.1.3-r0) (77/130) Installing libxcb (1.14-r2) (78/130) Installing libx11 (1.7.2-r0) (79/130) Installing libxrender (0.9.10-r3) (80/130) Installing libxext (1.3.4-r0) (81/130) Installing libpng (1.6.37-r1) (82/130) Installing freetype (2.10.4-r1) (83/130) Installing fontconfig (2.13.1-r4) (84/130) Installing pixman (0.40.0-r2) (85/130) Installing cairo (1.16.0-r3) (86/130) Installing cairo-tools (1.16.0-r3) (87/130) Installing expat-dev (2.4.1-r0) (88/130) Installing brotli-dev (1.0.9-r5) (89/130) Installing libpng-dev (1.6.37-r1) (90/130) Installing freetype-dev (2.10.4-r1) (91/130) Installing fontconfig-dev (2.13.1-r4) (92/130) Installing xorgproto (2021.4-r0) (93/130) Installing libxau-dev (1.0.9-r0) (94/130) Installing xcb-proto (1.14.1-r2) (95/130) Installing libxdmcp-dev (1.1.3-r0) (96/130) Installing libxcb-dev (1.14-r2) (97/130) Installing xtrans (1.4.0-r1) (98/130) Installing libx11-dev (1.7.2-r0) (99/130) Installing libxext-dev (1.3.4-r0) (100/130) Installing libxrender-dev (0.9.10-r3) (101/130) Installing pixman-dev (0.40.0-r2) (102/130) Installing util-macros (1.19.3-r0) (103/130) Installing xcb-util (0.4.0-r3) (104/130) Installing xcb-util-dev (0.4.0-r3) (105/130) Installing cairo-gobject (1.16.0-r3) (106/130) Installing cairo-dev (1.16.0-r3) (107/130) Installing bash (5.1.4-r0) Executing bash-5.1.4-r0.post-install (108/130) Installing libltdl (2.4.6-r7) (109/130) Installing libtool (2.4.6-r7) (110/130) Installing gobject-introspection (1.68.0-r1) (111/130) Installing gobject-introspection-dev (1.68.0-r1) (112/130) Installing libical (3.0.10-r0) (113/130) Installing libical-dev (3.0.10-r0) (114/130) Installing libhistory (8.1.0-r0) (115/130) Installing ncurses-dev (6.2_p20210612-r0) (116/130) Installing readline-dev (8.1.0-r0) (117/130) Installing m4 (1.4.18-r2) (118/130) Installing perl (5.32.1-r0) (119/130) Installing autoconf (2.71-r0) (120/130) Installing automake (1.16.3-r0) (121/130) Installing ell (0.40-r0) (122/130) Installing ell-dev (0.40-r0) (123/130) Installing .makedepends-bluez (20210614.074952) (124/130) Installing util-linux-openrc (2.37-r0) (125/130) Installing dbus-openrc (1.12.20-r2) (126/130) Installing udev-init-scripts-openrc (34-r0) (127/130) Installing eudev-openrc (3.2.10-r0) (128/130) Installing perl-error (0.17029-r1) (129/130) Installing perl-git (2.32.0-r0) (130/130) Installing git-perl (2.32.0-r0) Executing busybox-1.33.1-r1.trigger Executing dbus-1.12.20-r2.trigger Executing eudev-3.2.10-r0.trigger Executing glib-2.68.2-r0.trigger No schema files found: doing nothing. OK: 532 MiB in 221 packages >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/bluez-5.58.tar.xz >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/bluez-5.58.tar.xz >>> bluez: Checking sha512sums... bluez-5.58.tar.xz: OK bluetooth.initd: OK rfcomm.initd: OK rfcomm.confd: OK org.bluez.obex.service: 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 >>> bluez: Unpacking /var/cache/distfiles/v3.14/bluez-5.58.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 4460 (offset 1 line). >>> 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 542 (offset 3 lines). autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:19: warning: The macro `AC_LANG_C' is obsolete. configure.ac:19: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.ac:19: the top level configure.ac:33: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:33: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:33: the top level configure.ac:45: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... acinclude.m4:32: MISC_FLAGS is expanded from... configure.ac:45: the top level configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:47: the top level configure.ac:86: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:86: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:86: the top level configure.ac:99: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:99: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:99: the top level configure.ac:112: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:112: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:112: the top level configure.ac:125: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:125: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:125: the top level configure.ac:137: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:137: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:137: the top level configure.ac:151: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:151: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:151: the top level configure.ac:155: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:155: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:155: the top level configure.ac:159: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:159: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:159: the top level configure.ac:163: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:163: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:163: the top level configure.ac:167: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:167: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:167: the top level configure.ac:171: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:171: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:171: the top level configure.ac:175: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:175: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:175: the top level configure.ac:179: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:179: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:179: the top level configure.ac:183: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:183: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:183: the top level configure.ac:187: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:187: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:187: the top level configure.ac:191: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:191: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:191: the top level configure.ac:195: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:195: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:195: the top level configure.ac:199: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:199: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:199: the top level configure.ac:212: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:212: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:212: the top level configure.ac:224: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:224: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:224: the top level configure.ac:228: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:228: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:228: the top level configure.ac:239: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:239: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:239: the top level configure.ac:250: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:250: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:250: the top level configure.ac:260: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:260: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:260: the top level configure.ac:264: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:264: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:264: the top level configure.ac:279: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:279: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:279: the top level configure.ac:289: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:289: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:289: the top level configure.ac:294: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:294: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:294: the top level configure.ac:308: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:308: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:308: the top level configure.ac:321: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:321: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:321: the top level configure.ac:326: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:326: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:326: the top level configure.ac: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:336: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:336: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:336: the top level configure.ac:341: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:341: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:341: the top level configure.ac:346: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:346: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:346: the top level configure.ac:351: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:351: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:351: the top level configure.ac:356: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:356: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:356: the top level configure.ac:389: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:389: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:389: the top level configure.ac:411: warning: AC_OUTPUT should be used without arguments. configure.ac:411: 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:546: warning: variable 'unit_test_mesh_crypto_SOURCES' is defined but no program or Makefile.am:546: library has 'unit_test_mesh_crypto' as canonical name (possible typo) Makefile.am:548: warning: variable 'unit_test_mesh_crypto_LDADD' is defined but no program or Makefile.am:548: library has 'unit_test_mesh_crypto' as canonical name (possible typo) autoreconf: './config.sub' is updated autoreconf: './config.guess' is updated 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 i586-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for i586-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for C/C++ restrict keyword... __restrict__ checking for i586-alpine-linux-musl-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether gcc accepts -fPIE... yes checking build system type... i586-alpine-linux-musl checking host system type... i586-alpine-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/i586-alpine-linux-musl/bin/ld checking if the linker (/usr/i586-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert i586-alpine-linux-musl file names to i586-alpine-linux-musl format... func_convert_file_noop checking how to convert i586-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/i586-alpine-linux-musl/bin/ld option to reload object files... -r checking for i586-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i586-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alpine-linux-musl-strip... no checking for strip... strip checking for i586-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i586-alpine-linux-musl/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 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/bluetoothd.8 config.status: creating lib/bluez.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands GEN ell/shared GEN lib/bluetooth/bluetooth.h GEN lib/bluetooth/hci.h GEN lib/bluetooth/hci_lib.h GEN lib/bluetooth/sco.h GEN lib/bluetooth/l2cap.h GEN lib/bluetooth/sdp.h GEN lib/bluetooth/sdp_lib.h GEN lib/bluetooth/bnep.h GEN ell/internal GEN lib/bluetooth/rfcomm.h GEN ell/ell.h GEN src/builtin.h GEN lib/bluetooth/cmtp.h GEN lib/bluetooth/hidp.h GEN obexd/src/builtin.h make --no-print-directory all-am CC src/shared/io-mainloop.lo CC src/shared/timeout-mainloop.lo CC src/shared/mainloop.lo CC src/shared/io-ell.lo CC src/shared/timeout-ell.lo CC src/shared/mainloop-ell.lo CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_ti.o CC tools/hciattach_tialt.o CC tools/hciattach_ath3k.o CC tools/hciattach_qualcomm.o CC tools/hciattach_intel.o CC tools/hciattach_bcm43xx.o CC tools/hciconfig.o CC tools/hcitool.o CC tools/hcidump.o CC tools/rfcomm.o CC tools/sdptool.o CC src/sdp-xml.o CC tools/ciptool.o CC tools/bdaddr.o CC tools/avinfo.o CC tools/avtest.o CC tools/scotest.o CC tools/amptest.o CC tools/hwdb.o CC tools/hcieventmask.o 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/hcisecfilter.o CC tools/btinfo.o CC tools/btconfig.o CC tools/btsnoop.o CC tools/btproxy.o CC tools/btiotest.o CC tools/bneptest.o CC src/log.o CC tools/mcaptest.o CC tools/cltest.o CC tools/oobtest.o CC tools/advtest.o CC tools/seq2bseq.o CC tools/nokfw.o CC tools/rtlfw.o CC tools/bcmfw.o CC tools/create-image.o CC tools/eddystone.o CC tools/ibeacon.o CC tools/btgatt-client.o CC src/uuid-helper.o CC tools/btgatt-server.o CC tools/test-runner.o CC tools/check-selftest.o CC tools/gatt-service.o CC tools/btmgmt.o CC tools/obex-client-tool.o CC tools/obex-server-tool.o CC tools/bluetooth-player.o CC tools/obexctl.o CC profiles/network/bluetoothd-manager.o CC profiles/network/bluetoothd-bnep.o CC profiles/network/bluetoothd-server.o CC profiles/network/bluetoothd-connection.o 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 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 btio/bluetoothd-btio.o CC src/bluetoothd-main.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 src/bluetoothd-log.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, | ^~~~~~~~ CC src/bluetoothd-backtrace.o attrib/gatt.c: In function 'gatt_discover_desc': attrib/gatt.c:1133:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1133 | dd->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/bluetoothd-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 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, | ^~~~~~~~ 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 src/eir.c: In function 'eir_parse': src/eir.c:326:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 326 | eir->hash = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/eir.c:332:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 332 | eir->randomizer = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC gobex/obexd-gobex-transfer.o CC gobex/obexd-gobex-apparam.o CC obexd/client/obexd-manager.o CC obexd/client/obexd-session.o CC obexd/client/obexd-bluetooth.o CC obexd/client/obexd-sync.o CC obexd/client/obexd-pbap.o CC obexd/client/obexd-ftp.o CC obexd/client/obexd-opp.o CC obexd/client/obexd-map.o gobex/gobex-header.c: In function 'g_obex_header_decode': gobex/gobex-header.c:225:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 225 | header->v.data = g_memdup(ptr, header->vlen); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ gobex/gobex-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, | ^~~~~~~~ gobex/gobex-header.c: In function 'g_obex_header_new_bytes': gobex/gobex-header.c:413:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 413 | header->v.data = g_memdup(data, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/client/obexd-map-event.o CC obexd/client/obexd-transfer.o CC obexd/client/obexd-transport.o CC obexd/client/obexd-driver.o CC mesh/mesh.o CC mesh/net-keys.o CC mesh/mesh-io.o CC mesh/mesh-mgmt.o CC mesh/mesh-io-generic.o CC mesh/net.o CC mesh/friend.o CC mesh/appkey.o CC mesh/node.o CC mesh/model.o CC mesh/cfgmod-server.o CC mesh/mesh-config-json.o CC mesh/dbus.o CC mesh/agent.o CC mesh/prov-acceptor.o CC mesh/prov-initiator.o CC mesh/manager.o CC mesh/pb-adv.o CC mesh/keyring.o CC mesh/rpl.o CC mesh/main.o GEN mesh/bluetooth-mesh.service CC tools/hid2hci.o CC plugins/sixaxis_la-sixaxis.lo GEN tools/97-hid2hci.rules CC client/main.o CC client/display.o CC client/agent.o CC client/advertising.o CC client/adv_monitor.o CC client/gatt.o CC gdbus/mainloop.lo CC gdbus/watch.lo CC gdbus/object.lo CC gdbus/client.lo CC gdbus/polkit.lo CC src/shared/queue.lo CC src/shared/util.lo CC src/shared/mgmt.lo CC src/shared/crypto.lo CC src/shared/ecc.lo CC src/shared/ringbuf.lo client/gatt.c: In function 'str2bytearray': client/gatt.c:793:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 793 | return g_memdup(value, i); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from client/gatt.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/shared/tester.lo CC src/shared/hci.lo CC src/shared/hci-crypto.lo CC src/shared/hfp.lo CC src/shared/uhid.lo CC src/shared/pcap.lo CC src/shared/btsnoop.lo CC src/shared/ad.lo CC src/shared/att.lo CC src/shared/gatt-helpers.lo CC src/shared/gatt-client.lo CC src/shared/gatt-server.lo CC src/shared/gatt-db.lo CC src/shared/gap.lo CC src/shared/log.lo CC src/shared/shell.lo CC src/shared/io-glib.lo CC src/shared/timeout-glib.lo CC src/shared/mainloop-glib.lo CC src/shared/mainloop-notify.lo CC 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 monitor/packet.c: In function 'print_packet': monitor/packet.c:359:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 359 | n = sprintf(ts_str + ts_pos, " %02d:%02d:%02d.%06lu", | ~~~~^ | | | long unsigned int | %06llu 360 | tm.tm_hour, tm.tm_min, tm.tm_sec, tv->tv_usec); | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} monitor/packet.c:368:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 368 | n = sprintf(ts_str + ts_pos, " %lu.%06lu", | ~~^ | | | long unsigned int | %llu 369 | tv->tv_sec - time_offset, tv->tv_usec); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} monitor/packet.c:368:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 368 | n = sprintf(ts_str + ts_pos, " %lu.%06lu", | ~~~~^ | | | long unsigned int | %06llu 369 | tv->tv_sec - time_offset, tv->tv_usec); | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} CC monitor/sdp.o CC monitor/avctp.o CC monitor/avdtp.o CC monitor/a2dp.o CC monitor/rfcomm.o CC monitor/bnep.o CC monitor/hwdb.o CC monitor/keys.o CC monitor/analyze.o CC monitor/intel.o CC monitor/broadcom.o CC monitor/msft.o CC monitor/jlink.o CC lib/bluetooth.lo CC lib/hci.lo CC lib/sdp.lo CC lib/uuid.lo CC tools/rctest.o CC tools/l2test.o CC tools/l2ping.o CC tools/bluemoon.o 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/hex2hcd.o CC tools/mpris-proxy.o CC tools/btattach.o CC tools/meshctl.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/agent.o CC tools/mesh-gatt/node.o CC tools/mesh-gatt/gatt.o CC tools/mesh-gatt/crypto.o CC tools/mesh-gatt/net.o CC tools/mesh-gatt/prov.o CC tools/mesh-gatt/util.o CC tools/mesh-gatt/prov-db.o CC tools/mesh-gatt/config-client.o CC tools/mesh-gatt/config-server.o tools/mesh-gatt/gatt.c: In function 'mesh_gatt_write': tools/mesh-gatt/gatt.c:341:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 341 | data->gatt_data = g_memdup(buf, len); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from tools/mesh-gatt/gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC tools/mesh-gatt/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/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 ar: `u' modifier ignored since `D' is the default (see `U') CC ell/gvariant-util.lo CC ell/siphash.lo CC ell/uuid.lo CC src/oui.o CC tools/parser/parser.o CC tools/parser/lmp.o CC tools/parser/hci.o CC tools/parser/l2cap.o 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} In file included from tools/parser/parser.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: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/amp.o CC tools/parser/smp.o 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 CC tools/parser/att.o 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} 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/sdp.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 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/rfcomm.o CC tools/parser/bnep.o CC tools/parser/cmtp.o CC tools/parser/hidp.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 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 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/hcrp.o CC tools/parser/avdtp.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 CC tools/parser/avctp.o 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} 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/avrcp.o 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} 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/sap.o 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 CC tools/parser/obex.o CC tools/parser/capi.o 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/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 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/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 CC tools/parser/ppp.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 CC tools/parser/tcpip.o CC tools/parser/ericsson.o CC tools/parser/csr.o CC tools/parser/bpa.o CC profiles/cups/main.o 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/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/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/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 CC profiles/cups/sdp.o CC profiles/cups/spp.o CC profiles/cups/hcrp.o 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 CCLD tools/hcisecfilter 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 CC btio/btio.o 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/network/bnep.o 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 CC profiles/health/mcap.o CCLD tools/seq2bseq CCLD tools/nokfw CCLD tools/rtlfw CCLD tools/bcmfw CCLD tools/create-image CCLD tools/test-runner CCLD tools/check-selftest CC profiles/iap/main.o CC gobex/gobex.o CC gobex/gobex-defs.o CC gobex/gobex-packet.o CC gobex/gobex-header.o CC gobex/gobex-transfer.o CC gobex/gobex-apparam.o CC attrib/gatttool.o CC attrib/att.o CC attrib/gatt.o CC attrib/gattrib.o CC attrib/interactive.o CC attrib/utils.o CC plugins/bluetoothd-hostname.o CC plugins/bluetoothd-wiimote.o gobex/gobex-header.c: In function 'g_obex_header_decode': gobex/gobex-header.c:225:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 225 | header->v.data = g_memdup(ptr, header->vlen); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ gobex/gobex-header.c: In function 'g_obex_header_new_bytes': gobex/gobex-header.c:413:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 413 | header->v.data = g_memdup(data, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC plugins/bluetoothd-autopair.o CC plugins/bluetoothd-policy.o CC profiles/audio/bluetoothd-source.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 profiles/audio/bluetoothd-sink.o CC profiles/audio/bluetoothd-a2dp.o CC profiles/audio/bluetoothd-avdtp.o CC profiles/audio/bluetoothd-media.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 profiles/audio/bluetoothd-transport.o CC profiles/audio/bluetoothd-control.o CC profiles/audio/bluetoothd-avctp.o CC profiles/audio/bluetoothd-avrcp.o 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, | ^~~~~~~~ CC profiles/audio/bluetoothd-player.o CC profiles/input/bluetoothd-manager.o CC profiles/input/bluetoothd-server.o CC profiles/input/bluetoothd-device.o CC profiles/input/bluetoothd-hog.o CC profiles/input/bluetoothd-hog-lib.o CC profiles/deviceinfo/bluetoothd-dis.o CC profiles/battery/bluetoothd-bas.o CC profiles/scanparam/bluetoothd-scpp.o CC profiles/gap/bluetoothd-gas.o CC obexd/plugins/obexd-filesystem.o profiles/audio/avrcp.c: In function 'avrcp_handle_get_current_player_value': profiles/audio/avrcp.c:1300:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1300 | settings = g_memdup(&pdu->params[1], pdu->params[0]); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_set_browsed_player_rsp': profiles/audio/avrcp.c:2789:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2789 | 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:2876:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2876 | 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, | ^~~~~~~~ CC obexd/plugins/obexd-bluetooth.o profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': profiles/deviceinfo/dis.c:146:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 146 | dis->primary = g_memdup(primary, sizeof(*dis->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/deviceinfo/dis.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/scanparam/scpp.c: In function 'bt_scpp_new': profiles/scanparam/scpp.c:113:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 113 | scan->primary = g_memdup(primary, sizeof(*scan->primary)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/scanparam/scpp.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/plugins/obexd-opp.o profiles/audio/avctp.c: In function 'avctp_send_req': profiles/audio/avctp.c:1734:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1734 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avctp.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avctp.c: In function 'avctp_send_browsing_req': profiles/audio/avctp.c:1772:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1772 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avctp.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/battery/bas.c: In function 'bt_bas_new': profiles/battery/bas.c:78:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 78 | bas->primary = g_memdup(primary, sizeof(*bas->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/battery/bas.c:18: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'report_read_cb': profiles/input/hog-lib.c:517:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 517 | 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/plugins/obexd-ftp.o profiles/input/hog-lib.c: In function 'hog_attach_hog': profiles/input/hog-lib.c:1598:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1598 | 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:1612:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1612 | 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/plugins/obexd-irmc.o CC obexd/plugins/obexd-pbap.o CC obexd/plugins/obexd-vcard.o CC obexd/plugins/obexd-phonebook-dummy.o CC obexd/plugins/obexd-mas.o CC obexd/plugins/obexd-messages-dummy.o CC obexd/client/obexd-mns.o CC obexd/src/obexd-main.o CC obexd/src/obexd-plugin.o CC obexd/src/obexd-log.o CC obexd/src/obexd-manager.o CC obexd/src/obexd-obex.o CC obexd/src/obexd-mimetype.o CC obexd/src/obexd-service.o CC obexd/src/obexd-transport.o CC obexd/src/obexd-server.o CCLD tools/hid2hci CCLD lib/libbluetooth.la CCLD plugins/sixaxis.la CCLD gdbus/libgdbus-internal.la CCLD src/libshared-glib.la obexd/src/obex.c: In function 'parse_apparam': obexd/src/obex.c:597:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 597 | os->apparam = g_memdup(apparam, len); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from obexd/src/obex.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD lib/libbluetooth-internal.la CCLD src/libshared-mainloop.la CCLD tools/hex2hcd CCLD ell/libell-internal.la ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/rctest CCLD tools/l2test CCLD tools/l2ping CCLD tools/mpris-proxy CCLD tools/hciattach CCLD tools/hciconfig CCLD tools/hcitool CCLD tools/hcidump CCLD tools/rfcomm CCLD tools/sdptool CCLD tools/ciptool CCLD profiles/cups/bluetooth CCLD tools/bdaddr CCLD tools/avinfo CCLD tools/avtest CCLD tools/scotest CCLD tools/amptest CCLD tools/hwdb CCLD tools/hcieventmask CCLD tools/btiotest ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/gatt-service CCLD profiles/iap/iapd CCLD tools/obex-client-tool CCLD tools/obex-server-tool CCLD obexd/src/obexd ar: `u' modifier ignored since `D' is the default (see `U') CCLD client/bluetoothctl CCLD tools/meshctl CCLD tools/bluetooth-player CCLD tools/obexctl CCLD attrib/gatttool CCLD tools/bluemoon CCLD tools/btattach CCLD tools/btinfo CCLD tools/btconfig CCLD tools/btsnoop CCLD tools/btproxy ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/bneptest CCLD tools/mcaptest CCLD tools/cltest CCLD tools/oobtest CCLD tools/advtest CCLD tools/eddystone CCLD tools/ibeacon CCLD tools/btgatt-client CCLD tools/btgatt-server CCLD tools/btmgmt CCLD tools/mesh-cfgclient CCLD mesh/bluetooth-meshd CCLD src/bluetoothd CCLD monitor/btmon make --no-print-directory check-am make --no-print-directory check-TESTS CC src/eir.o CC unit/test-uuid.o CC unit/test-textfile.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 android/avctp.o CC unit/test-avrcp.o CC android/avrcp-lib.o CC unit/test-hfp.o CC unit/test-gdbus-client.o CC unit/util.o src/eir.c: In function 'eir_parse': src/eir.c:326:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 326 | eir->hash = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/eir.c:332:4: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 332 | eir->randomizer = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC 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 unit/test-avdtp.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:778:2: note: in expansion of macro 'define_test' 778 | define_test("/TP/SIG/SMG/BV-06-C-SEID-1", test_server_seid, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:778:2: note: in expansion of macro 'define_test' 778 | define_test("/TP/SIG/SMG/BV-06-C-SEID-1", test_server_seid, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:780:2: note: in expansion of macro 'define_test' 780 | define_test("/TP/SIG/SMG/BV-06-C-SEID-2", test_server_seid_duplicate, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:780:2: note: in expansion of macro 'define_test' 780 | define_test("/TP/SIG/SMG/BV-06-C-SEID-2", test_server_seid_duplicate, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:780:2: note: in expansion of macro 'define_test' 780 | define_test("/TP/SIG/SMG/BV-06-C-SEID-2", test_server_seid_duplicate, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:783:2: note: in expansion of macro 'define_test' 783 | define_test("/TP/SIG/SMG/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:783:2: note: in expansion of macro 'define_test' 783 | define_test("/TP/SIG/SMG/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:785:2: note: in expansion of macro 'define_test' 785 | define_test("/TP/SIG/SMG/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:785:2: note: in expansion of macro 'define_test' 785 | define_test("/TP/SIG/SMG/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:785:2: note: in expansion of macro 'define_test' 785 | define_test("/TP/SIG/SMG/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:788:2: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:792:2: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:798:2: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:276:2: note: in expansion of macro 'define_test' 276 | define_test("/uhid/command/create", test_client, event(&ev_create)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:277:2: note: in expansion of macro 'define_test' 277 | define_test("/uhid/command/destroy", test_client, event(&ev_destroy)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:278:2: note: in expansion of macro 'define_test' 278 | define_test("/uhid/command/feature_answer", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:280:2: note: in expansion of macro 'define_test' 280 | define_test("/uhid/command/input", test_client, event(&ev_input)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/uhid/event/output", test_server, event(&ev_output)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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-uhid.c:62:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:283:2: note: in expansion of macro 'define_test' 283 | define_test("/uhid/event/feature", test_server, event(&ev_feature)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:816:2: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:826:2: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:838:2: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: In function 'main': unit/test-sdp.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: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-sdp.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-avdtp.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-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: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:770:2: note: in expansion of macro 'define_ss' 770 | define_ss("BV-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:848:2: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:775:2: note: in expansion of macro 'define_ss' 775 | define_ss("BV-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:775:2: note: in expansion of macro 'define_ss' 775 | define_ss("BV-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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: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-sdp.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-avdtp.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-sdp.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-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:859:2: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:871:2: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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", | ^~~~~~~~~ unit/test-avdtp.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-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:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ unit/test-sdp.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-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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-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: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-sdp.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: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-sdp.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: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:794:2: note: in expansion of macro 'define_ss' 794 | define_ss("BV-03-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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-sdp.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-sdp.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-sdp.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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:884:2: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:2: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-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", | ^~~~~~~~~ unit/test-avdtp.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-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: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, | ^~~~~~~~~~~ unit/test-sdp.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-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: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-sdp.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: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-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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:818:2: note: in expansion of macro 'define_ss' 818 | define_ss("BV-03-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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-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-sdp.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: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-sdp.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", | ^~~~~~~~~ android/avctp.c: In function 'avctp_send_req': unit/test-avdtp.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, | ^~~~~~~~~~~ android/avctp.c:1182:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1182 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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 android/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~ android/avctp.c: In function 'avctp_send_browsing_req': android/avctp.c:1223:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1223 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ unit/test-avdtp.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 android/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: 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: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-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: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-sdp.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-sdp.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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:846:2: note: in expansion of macro 'define_ss' 846 | define_ss("BV-04-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:913:2: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:2: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:853:2: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:853:2: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-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-avdtp.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-sdp.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-avdtp.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-sdp.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-avdtp.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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:865:2: note: in expansion of macro 'define_ss' 865 | define_ss("BI-01-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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, | ^~~~~~~~ CC profiles/battery/bas.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:869:2: note: in expansion of macro 'define_ss' 869 | define_ss("BI-01-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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-sdp.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-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, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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-avdtp.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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:873:2: note: in expansion of macro 'define_ss' 873 | define_ss("BI-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:2: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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-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: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:886:2: note: in expansion of macro 'define_ss' 886 | define_ss("BI-02-C/UUID-16", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:2: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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-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-sdp.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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:2: note: in expansion of macro 'define_test' 963 | define_test("/TP/SIG/SMG/BV-25-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:894:2: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c: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-avrcp.c: In function 'main': unit/test-avrcp.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-avdtp.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:1004:2: note: in expansion of macro 'define_test' 1004 | define_test("/TP/MPS/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: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-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: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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:73:34: note: in expansion of macro 'define_test' 73 | #define define_ss(name, args...) define_test("/TP/SERVER/SS/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:894:2: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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: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-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: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: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, | ^~~~~~~~ unit/test-avdtp.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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-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, | ^~~~~~~~ unit/test-avdtp.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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.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-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:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:973:2: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.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-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: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-avrcp.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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:906:2: note: in expansion of macro 'define_sa' 906 | define_sa("BV-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-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-avdtp.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-avrcp.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-avdtp.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-avrcp.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-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: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: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-sdp.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: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-avrcp.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-avdtp.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: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: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:2: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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: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-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:1054:2: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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: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-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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c: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: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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:926:2: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1085:2: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1085:2: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1085:2: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:955:2: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1095:2: note: in expansion of macro 'define_test' 1095 | define_test("/TP/MPS/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c: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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-sdp.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: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-sdp.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: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-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: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: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-sdp.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: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:974:2: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-avrcp.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-sdp.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-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: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-sdp.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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:995:2: note: in expansion of macro 'define_sa' 995 | define_sa("BV-06-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:2: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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-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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1002:2: note: in expansion of macro 'define_test' 1002 | define_test("/TP/SIG/SMG/BI-03-C", test_server_0_sep, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1002:2: note: in expansion of macro 'define_test' 1002 | define_test("/TP/SIG/SMG/BI-03-C", test_server_0_sep, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.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-sdp.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: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:1149:2: note: in expansion of macro 'define_test' 1149 | define_test("/TP/MCN/CB/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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:1158:2: note: in expansion of macro 'define_test' 1158 | define_test("/TP/MCN/CB/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c: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:1158:2: note: in expansion of macro 'define_test' 1158 | define_test("/TP/MCN/CB/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c: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: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-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:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:2: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.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-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: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:1169:2: note: in expansion of macro 'define_test' 1169 | define_test("/TP/MCN/CB/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1169:2: note: in expansion of macro 'define_test' 1169 | define_test("/TP/MCN/CB/BV-06-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: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-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-avrcp.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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1180:2: note: in expansion of macro 'define_test' 1180 | define_test("/TP/MCN/CB/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1035:2: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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-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: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, | ^~~~~~~~~~~ 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-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:1189:2: note: in expansion of macro 'define_test' 1189 | define_test("/TP/MCN/CB/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1189:2: note: in expansion of macro 'define_test' 1189 | define_test("/TP/MCN/CB/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:2: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1200:2: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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, | ^~~~~~~~ android/avrcp-lib.c: In function 'parse_folder_list': unit/test-sdp.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", | ^~~~~~~~~ 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-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:1200:2: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1055:2: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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, | ^~~~~~~~ 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); | ^~~~~~~ unit/test-avdtp.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, | ^~~~~~~~ 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: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: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: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-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: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:1211:2: note: in expansion of macro 'define_test' 1211 | define_test("/TP/MCN/CB/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-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: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-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: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:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c: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:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1222:2: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1075:2: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:1237:2: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:1237:2: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1237:2: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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: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:1247:2: note: in expansion of macro 'define_test' 1247 | define_test("/TP/MCN/CB/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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: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:1247:2: note: in expansion of macro 'define_test' 1247 | define_test("/TP/MCN/CB/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1029:2: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-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:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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-sdp.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, | ^~~~~~~~ CC profiles/deviceinfo/dis.o unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-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: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-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: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:1094:2: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1257:2: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1257:2: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:2: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1267:2: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avdtp.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-avrcp.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-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:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1267:2: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avdtp.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-avrcp.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, | ^~~~~~~~~~~ unit/test-sdp.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, | ^~~~~~~~ unit/test-avdtp.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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avdtp.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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avdtp.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-avrcp.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: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1116:2: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:1278:2: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c: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-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-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:2: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:272:2: note: in expansion of macro 'define_test' 272 | define_test("/TP/CCM/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ 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-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-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, | ^~~~~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:273:2: note: in expansion of macro 'define_test' 273 | define_test("/TP/CCM/BV-02-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-avrcp.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-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-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-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, | ^~~~~~~~~~~ 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-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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c: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:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:275:2: note: in expansion of macro 'define_test' 275 | define_test("/TP/CCM/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ unit/test-avrcp.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-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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.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-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-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-avrcp.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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:2: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ unit/test-avctp.c: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-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-sdp.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:1309:2: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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:1320:2: note: in expansion of macro 'define_test' 1320 | define_test("/TP/MCN/SRC/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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:1320:2: note: in expansion of macro 'define_test' 1320 | define_test("/TP/MCN/SRC/BV-03-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: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-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: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: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:1328:2: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/TP/NFR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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:1328:2: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ unit/test-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c: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-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-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:282:2: note: in expansion of macro 'define_test' 282 | define_test("/TP/NFR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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-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-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:286:2: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1338:2: note: in expansion of macro 'define_test' 1338 | define_test("/TP/MCN/SRC/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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-avdtp.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: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-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:290:2: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-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-sdp.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-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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-avrcp.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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:1072:2: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ CC unit/test-gattrib.o In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-sdp.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: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-avdtp.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:1169:2: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-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: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1360:2: note: in expansion of macro 'define_test' 1360 | define_test("/TP/MCN/NP/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:1360:2: note: in expansion of macro 'define_test' 1360 | define_test("/TP/MCN/NP/BV-01-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: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-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-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, | ^~~~~~~~~~~ unit/test-avdtp.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-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-avctp.c:62:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:294:2: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-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: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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:294:2: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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: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: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: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: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:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1367:2: note: in expansion of macro 'define_test' 1367 | define_test("/TP/MCN/NP/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1080:2: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1376:2: note: in expansion of macro 'define_test' 1376 | define_test("/TP/MCN/NP/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-avdtp.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: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:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-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: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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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-avrcp.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: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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1195:2: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1394:2: note: in expansion of macro 'define_test' 1394 | define_test("/TP/MCN/NP/BV-05-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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: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: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-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-avdtp.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: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: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-avrcp.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, | ^~~~~~~~~~~ unit/test-sdp.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-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:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1091:2: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.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, | ^~~~~~~~~~~ unit/test-sdp.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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1402:2: note: in expansion of macro 'define_test' 1402 | define_test("/TP/MCN/NP/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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: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: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-sdp.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: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: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:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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: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-sdp.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:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-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: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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1235:2: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-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: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-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:1425:2: note: in expansion of macro 'define_test' 1425 | define_test("/TP/MCN/NP/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1104:2: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1425:2: note: in expansion of macro 'define_test' 1425 | define_test("/TP/MCN/NP/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:1434:2: note: in expansion of macro 'define_test' 1434 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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: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: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: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: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:1434:2: note: in expansion of macro 'define_test' 1434 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: In function 'main': unit/test-avrcp.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-avdtp.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: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-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:686:2: note: in expansion of macro 'define_test' 686 | define_test("/hfp/test_init", test_init, NULL, data_end()); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c: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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1255:2: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:687:2: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:2: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c: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: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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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: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-avdtp.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: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: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-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:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-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:691:2: note: in expansion of macro 'define_test' 691 | define_test("/hfp/test_cmd_handler_2", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.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-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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1277:2: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c: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-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:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1467:2: note: in expansion of macro 'define_test' 1467 | define_test("/TP/MPS/BV-01-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c: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:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-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: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-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:1467:2: note: in expansion of macro 'define_test' 1467 | define_test("/TP/MPS/BV-01-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ 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-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1481:2: note: in expansion of macro 'define_test' 1481 | define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1128:2: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1481:2: note: in expansion of macro 'define_test' 1481 | define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1299:2: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.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-sdp.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: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: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-avdtp.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: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:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-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: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-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: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: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-avdtp.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:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1484:2: note: in expansion of macro 'define_test' 1484 | define_test("/TP/CON/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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: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:1141:2: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-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: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-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: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:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1485:2: note: in expansion of macro 'define_test' 1485 | define_test("/TP/CON/BV-05-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1485:2: note: in expansion of macro 'define_test' 1485 | define_test("/TP/CON/BV-05-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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: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: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: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-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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1494:2: note: in expansion of macro 'define_test' 1494 | define_test("/TP/CEC/BV-01-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1318:2: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1495:2: note: in expansion of macro 'define_test' 1495 | define_test("/TP/CEC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1339:2: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1495:2: note: in expansion of macro 'define_test' 1495 | define_test("/TP/CEC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~ 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: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-avdtp.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: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-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:2: note: in expansion of macro 'define_test' 700 | define_test("/hfp/test_register_2", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-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: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-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: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-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", | ^~~~~~~~~ unit/test-avdtp.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-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: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: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:700:2: note: in expansion of macro 'define_test' 700 | define_test("/hfp/test_register_2", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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-avdtp.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-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-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: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-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-avrcp.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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:2: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c: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-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: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-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1501:2: note: in expansion of macro 'define_test' 1501 | define_test("/TP/ICC/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ 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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1154:2: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c: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-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: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:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:710:2: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1351:2: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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:716:2: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:2: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ 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-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: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", | ^~~~~~~~~ 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-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:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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: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: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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1513:2: note: in expansion of macro 'define_test' 1513 | define_test("/TP/PTT/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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-sdp.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-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:1513:2: note: in expansion of macro 'define_test' 1513 | define_test("/TP/PTT/BV-01-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:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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:74:34: note: in expansion of macro 'define_test' 74 | #define define_sa(name, args...) define_test("/TP/SERVER/SA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1368:2: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1519:2: note: in expansion of macro 'define_test' 1519 | define_test("/TP/PTT/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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-avdtp.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: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-avdtp.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:75:35: note: 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: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-avdtp.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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1387:2: note: in expansion of macro 'define_ssa' 1387 | define_ssa("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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: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:75:35: note: 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-avdtp.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, | ^~~~~~~~ CC unit/test-eir.o unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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: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:75:35: note: 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-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1167:2: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1525:2: note: in expansion of macro 'define_test' 1525 | define_test("/TP/PTT/BV-03-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1393:2: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1531:2: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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: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:1399:2: note: in expansion of macro 'define_ssa' 1399 | define_ssa("BV-01-C/UUID-128", | ^~~~~~~~~~ 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-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-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:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1531:2: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-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: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-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: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:75:35: note: 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", | ^~~~~~~~~~ unit/test-avdtp.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-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: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-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-gatt.c: In function '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: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:75:35: note: 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-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:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.c:1907:15: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1907 | const struct test_pdu pdu = SERVER_MTU_EXCHANGE_PDU; | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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, | ^~~~~~~~~~~ unit/test-avrcp.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-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:75:35: note: 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:1182:2: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1414:2: note: in expansion of macro 'define_ssa' 1414 | define_ssa("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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, | ^~~~~~~~ CCLD unit/test-uuid unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1537:2: note: in expansion of macro 'define_test' 1537 | define_test("/TP/PTT/BV-05-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1420:2: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1549:2: note: in expansion of macro 'define_test' 1549 | define_test("/TP/CFG/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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: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:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1554:2: note: in expansion of macro 'define_test' 1554 | define_test("/TP/CFG/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:75:35: note: 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", | ^~~~~~~~~~ unit/test-avdtp.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-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:725:2: note: in expansion of macro 'define_test' 725 | define_test("/hfp/test_ustring_1", test_register, check_ustring_1, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:1426:2: note: in expansion of macro 'define_ssa' 1426 | define_ssa("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c: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-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: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-avrcp.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, | ^~~~~~~~~~~ unit/test-avdtp.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-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:75:35: note: 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-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:2: note: in expansion of macro 'define_test' 730 | define_test("/hfp/test_ustring_2", test_register, check_ustring_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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-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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-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:1195:2: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1573:2: note: in expansion of macro 'define_test' 1573 | define_test("/TP/PAS/BV-01-C", test_client, | ^~~~~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: 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-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: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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1573:2: note: in expansion of macro 'define_test' 1573 | define_test("/TP/PAS/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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-avrcp.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:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1210:2: note: in expansion of macro 'define_test' 1210 | define_test("/TP/SIG/SMG/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1447:2: note: in expansion of macro 'define_ssa' 1447 | define_ssa("BV-03-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1578:2: note: in expansion of macro 'define_test' 1578 | define_test("/TP/PAS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1447:2: note: in expansion of macro 'define_ssa' 1447 | define_ssa("BV-03-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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: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-gatt.c: In function 'main': unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-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: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:75:35: note: 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", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2355:2: note: in expansion of macro 'define_test_client' 2355 | 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-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: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:735:2: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ unit/test-avdtp.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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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-gatt.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:2355:2: note: in expansion of macro 'define_test_client' 2355 | define_test_client("/TP/GAC/CL/BV-01-C", test_client, 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: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-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:1586:2: note: in expansion of macro 'define_test' 1586 | define_test("/TP/PAS/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:2: note: in expansion of macro 'define_test' 741 | define_test("/hfp/test_string_2", test_register, check_string_2, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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:2358:2: note: in expansion of macro 'define_test_server' 2358 | 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-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:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1453:2: note: in expansion of macro 'define_ssa' 1453 | define_ssa("BV-03-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.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:2358:2: note: in expansion of macro 'define_test_server' 2358 | 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:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1213:2: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:1594:2: note: in expansion of macro 'define_test' 1594 | define_test("/TP/PAS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:1221:2: note: in expansion of macro 'define_test' 1221 | define_test("/TP/SIG/SMG/ESR04/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1594:2: note: in expansion of macro 'define_test' 1594 | define_test("/TP/PAS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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: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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1221:2: note: in expansion of macro 'define_test' 1221 | define_test("/TP/SIG/SMG/ESR04/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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-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:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1613:2: note: in expansion of macro 'define_test' 1613 | define_test("/TP/PAS/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1613:2: note: in expansion of macro 'define_test' 1613 | define_test("/TP/PAS/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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: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:2368:2: note: in expansion of macro 'define_test_att' 2368 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:1224:2: note: in expansion of macro 'define_test' 1224 | define_test("/TP/SIG/SMG/BI-32-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1613:2: note: in expansion of macro 'define_test' 1613 | define_test("/TP/PAS/BV-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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: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, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-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:1623:2: note: in expansion of macro 'define_test' 1623 | define_test("/TP/PAS/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ 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-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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hfp.c:80:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:2: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: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-gatt.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:2368:2: note: in expansion of macro 'define_test_att' 2368 | 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: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-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:1632:2: note: in expansion of macro 'define_test' 1632 | define_test("/TP/PAS/BV-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1482:2: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ 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-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-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:747:2: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1229:2: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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: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, | ^~~~~~~~~~~ unit/test-gatt.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:2382:2: note: in expansion of macro 'define_test_att' 2382 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2382:2: note: in expansion of macro 'define_test_att' 2382 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ 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-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:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:2382:2: note: in expansion of macro 'define_test_att' 2382 | 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:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1644:2: note: in expansion of macro 'define_test' 1644 | define_test("/TP/PAS/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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:2382:2: note: in expansion of macro 'define_test_att' 2382 | 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:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:2: note: in expansion of macro 'define_test' 1234 | define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1644:2: note: in expansion of macro 'define_test' 1644 | define_test("/TP/PAS/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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:2382:2: note: in expansion of macro 'define_test_att' 2382 | 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: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, | ^~~~~~~~ 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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-hfp.c:83:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:753:2: note: in expansion of macro 'define_test' 753 | define_test("/hfp/test_empty", test_send_and_close, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-textfile 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-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:756:2: note: in expansion of macro 'define_hf_test' 756 | define_hf_test("/hfp_hf/test_init", test_hf_init, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2387:2: note: in expansion of macro 'define_test_server' 2387 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.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-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:75:35: note: 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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2387:2: note: in expansion of macro 'define_test_server' 2387 | 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: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, | ^~~~~~~~~~~ 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:75:35: note: 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:2387:2: note: in expansion of macro 'define_test_server' 2387 | 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: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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1666:2: note: in expansion of macro 'define_test' 1666 | define_test("/TP/PAS/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2387:2: note: in expansion of macro 'define_test_server' 2387 | 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:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-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-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2387:2: note: in expansion of macro 'define_test_server' 2387 | 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-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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:2: note: in expansion of macro 'define_hf_test' 764 | define_hf_test("/hfp_hf/test_send_command_2", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-gatt.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:2387:2: note: in expansion of macro 'define_test_server' 2387 | 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-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-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: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:75:35: note: 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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1244:2: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2396:2: note: in expansion of macro 'define_test_server' 2396 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2396:2: note: in expansion of macro 'define_test_server' 2396 | 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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1675:2: note: in expansion of macro 'define_test' 1675 | define_test("/TP/PAS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:2396:2: note: in expansion of macro 'define_test_server' 2396 | 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:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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:75:35: note: 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-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: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:2396:2: note: in expansion of macro 'define_test_server' 2396 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.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-avrcp.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, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:1259:2: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-avdtp.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:2401:2: note: in expansion of macro 'define_test_server' 2401 | define_test_server("/TP/GAD/SR/BV-01-C-large-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: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1701:2: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-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, | ^~~~~~~~~~~ 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-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:75:35: note: 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:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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: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-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:75:35: note: 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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:2: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1715:2: note: in expansion of macro 'define_test' 1715 | define_test("/TP/PAS/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:2: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-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:75:35: note: 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: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-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: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:2401:2: note: in expansion of macro 'define_test_server' 2401 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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:2401:2: note: in expansion of macro 'define_test_server' 2401 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1530:2: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1728:2: note: in expansion of macro 'define_test' 1728 | define_test("/TP/PAS/BI-05-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:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-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: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: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:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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:1280:2: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ unit/test-avrcp.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-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:2401:2: note: in expansion of macro 'define_test_server' 2401 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1560:2: note: in expansion of macro 'define_ssa' 1560 | define_ssa("BV-07-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:782:2: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2401:2: note: in expansion of macro 'define_test_server' 2401 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1560:2: note: in expansion of macro 'define_ssa' 1560 | define_ssa("BV-07-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: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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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:1308:2: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ 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-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: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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:2: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: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, | ^~~~~~~~~~~ unit/test-avrcp.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-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: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:2401:2: note: in expansion of macro 'define_test_server' 2401 | 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-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: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:1567:2: note: in expansion of macro 'define_ssa' 1567 | define_ssa("BV-07-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-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-gatt.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:2406:2: note: in expansion of macro 'define_test_att' 2406 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1567:2: note: in expansion of macro 'define_ssa' 1567 | define_ssa("BV-07-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.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:2406:2: note: in expansion of macro 'define_test_att' 2406 | 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: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: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: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:2406:2: note: in expansion of macro 'define_test_att' 2406 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-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: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: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:2406:2: note: in expansion of macro 'define_test_att' 2406 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &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: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-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:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1574:2: note: in expansion of macro 'define_ssa' 1574 | define_ssa("BV-07-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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-avdtp.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: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:2406:2: note: in expansion of macro 'define_test_att' 2406 | 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: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, | ^~~~~~~~~~~ unit/test-gatt.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:2406:2: note: in expansion of macro 'define_test_att' 2406 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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:2406:2: note: in expansion of macro 'define_test_att' 2406 | 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: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, | ^~~~~~~~~~~ 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-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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1574:2: note: in expansion of macro 'define_ssa' 1574 | define_ssa("BV-07-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2416:2: note: in expansion of macro 'define_test_att' 2416 | 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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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:2416:2: note: in expansion of macro 'define_test_att' 2416 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1590:2: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-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:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.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:2416:2: note: in expansion of macro 'define_test_att' 2416 | 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: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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:2: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1777:2: note: in expansion of macro 'define_test' 1777 | define_test("/TP/MDI/BV-05-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:2416:2: note: in expansion of macro 'define_test_att' 2416 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ 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-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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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: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:2416:2: note: in expansion of macro 'define_test_att' 2416 | 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: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-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-avrcp.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-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:75:35: note: 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-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:1323:2: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ 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-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: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-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:75:35: note: 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: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:2424:2: note: in expansion of macro 'define_test_att' 2424 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ 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-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: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:2424:2: note: in expansion of macro 'define_test_att' 2424 | 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-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: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-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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:2424:2: note: in expansion of macro 'define_test_att' 2424 | 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-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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:2: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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-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:2424:2: note: in expansion of macro 'define_test_att' 2424 | 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-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-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: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:2424:2: note: in expansion of macro 'define_test_att' 2424 | 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: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-avdtp.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: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:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-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:2424:2: note: in expansion of macro 'define_test_att' 2424 | 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-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: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-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:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-gatt.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:2424:2: note: in expansion of macro 'define_test_att' 2424 | 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-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:1334:2: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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:75:35: note: 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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2438:2: note: in expansion of macro 'define_test_server' 2438 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/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: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-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: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:75:35: note: 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-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, | ^~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2438:2: note: in expansion of macro 'define_test_server' 2438 | 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-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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2438:2: note: in expansion of macro 'define_test_server' 2438 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2438:2: note: in expansion of macro 'define_test_server' 2438 | 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: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-avdtp.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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2438:2: note: in expansion of macro 'define_test_server' 2438 | 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:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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:75:35: note: 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-gatt.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:2438:2: note: in expansion of macro 'define_test_server' 2438 | 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, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'report_read_cb': unit/test-avdtp.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-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, | ^~~~~~~~ profiles/input/hog-lib.c:517:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 517 | report->value = g_memdup(pdu, len); | ^~~~~~ unit/test-avdtp.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 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-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: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:75:35: note: 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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2448:2: note: in expansion of macro 'define_test_server' 2448 | 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: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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2448:2: note: in expansion of macro 'define_test_server' 2448 | 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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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: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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2448:2: note: in expansion of macro 'define_test_server' 2448 | 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:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1844:2: note: in expansion of macro 'define_test' 1844 | define_test("/TP/NFY/BV-05-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:806:2: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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, | ^~~~~~~~~~~~~~ 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-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-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-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:820:2: note: in expansion of macro 'define_hf_test' 820 | define_hf_test("/hfp_hf/test_empty", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1634:2: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2448:2: note: in expansion of macro 'define_test_server' 2448 | 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:1345:2: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1844:2: note: in expansion of macro 'define_test' 1844 | define_test("/TP/NFY/BV-05-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: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-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, | ^~~~~~~~ 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: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-avdtp.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:1634:2: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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: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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c: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-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:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1650:2: note: in expansion of macro 'define_ssa' 1650 | define_ssa("BV-10-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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-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:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1650:2: note: in expansion of macro 'define_ssa' 1650 | define_ssa("BV-10-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1650:2: note: in expansion of macro 'define_ssa' 1650 | define_ssa("BV-10-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1657:2: note: in expansion of macro 'define_ssa' 1657 | define_ssa("BV-10-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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: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-avrcp.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-avdtp.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-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:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-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: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: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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c: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-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:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:827:2: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-avdtp.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-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:1883:2: note: in expansion of macro 'define_test' 1883 | define_test("/TP/INV/BI-01-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: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-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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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: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, | ^~~~~~~~ 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:1883:2: note: in expansion of macro 'define_test' 1883 | define_test("/TP/INV/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c: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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ 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-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2448:2: note: in expansion of macro 'define_test_server' 2448 | 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, | ^~~~~~~~ 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-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: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:2448:2: note: in expansion of macro 'define_test_server' 2448 | 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: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-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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-hfp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:2: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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:2460:2: note: in expansion of macro 'define_test_server' 2460 | 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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2460:2: note: in expansion of macro 'define_test_server' 2460 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2460:2: note: in expansion of macro 'define_test_server' 2460 | 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, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_hog': unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2460:2: note: in expansion of macro 'define_test_server' 2460 | 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, | ^~~~~~~~ profiles/input/hog-lib.c:1598:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1598 | 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:1612:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1612 | 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2467:2: note: in expansion of macro 'define_test_server' 2467 | 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:75:35: note: 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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2467:2: note: in expansion of macro 'define_test_server' 2467 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2467:2: note: in expansion of macro 'define_test_server' 2467 | 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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1664:2: note: in expansion of macro 'define_ssa' 1664 | define_ssa("BV-10-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2467:2: note: in expansion of macro 'define_test_server' 2467 | 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:75:35: note: 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2474:2: note: in expansion of macro 'define_test_server' 2474 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2474:2: note: in expansion of macro 'define_test_server' 2474 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2474:2: note: in expansion of macro 'define_test_server' 2474 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2474:2: note: in expansion of macro 'define_test_server' 2474 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:2: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1895:2: note: in expansion of macro 'define_test' 1895 | define_test("/TP/INV/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-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, | ^~~~~~~~ CCLD unit/test-crypto unit/test-avrcp.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-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-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:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1698:2: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-avrcp.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-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-avrcp.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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1698:2: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1919:2: note: in expansion of macro 'define_test' 1919 | define_test("/TP/BGN/BV-02-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c: 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:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1716:2: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2474:2: note: in expansion of macro 'define_test_server' 2474 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1926:2: note: in expansion of macro 'define_test' 1926 | define_test("/TP/BGN/BV-02-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2474:2: note: in expansion of macro 'define_test_server' 2474 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1939:2: note: in expansion of macro 'define_test' 1939 | define_test("/TP/VLH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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/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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1939:2: note: in expansion of macro 'define_test' 1939 | define_test("/TP/VLH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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/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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1716:2: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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/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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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/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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1723:2: note: in expansion of macro 'define_ssa' 1723 | define_ssa("BV-12-C/UUID-32", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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:2495:2: note: in expansion of macro 'define_test_att' 2495 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:225:2: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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: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: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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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:75:35: note: 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: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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1730:2: note: in expansion of macro 'define_ssa' 1730 | define_ssa("BV-12-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ unit/test-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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:75:35: note: 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-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-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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1746:2: note: in expansion of macro 'define_ssa' 1746 | define_ssa("BV-13-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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: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: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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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:75:35: note: 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-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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:75:35: note: 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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1945:2: note: in expansion of macro 'define_test' 1945 | define_test("/TP/VLH/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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: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-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-gatt.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:2495:2: note: in expansion of macro 'define_test_att' 2495 | 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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2518:2: note: in expansion of macro 'define_test_server' 2518 | 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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1954:2: note: in expansion of macro 'define_test' 1954 | define_test("/TP/VLH/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1762:2: note: in expansion of macro 'define_ssa' 1762 | define_ssa("BV-13-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:2518:2: note: in expansion of macro 'define_test_server' 2518 | 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-avrcp.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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2518:2: note: in expansion of macro 'define_test_server' 2518 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2518:2: note: in expansion of macro 'define_test_server' 2518 | define_test_server("/TP/GAD/SR/BV-03-C/small", 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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2518:2: note: in expansion of macro 'define_test_server' 2518 | 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:75:35: note: 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-avrcp.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-gatt.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:2518:2: note: in expansion of macro 'define_test_server' 2518 | 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:75:35: note: 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-avrcp.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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1779:2: note: in expansion of macro 'define_ssa' 1779 | define_ssa("BV-14-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1786:2: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1786:2: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1786:2: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1793:2: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2527:2: note: in expansion of macro 'define_test_server' 2527 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1793:2: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c: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:2527:2: note: in expansion of macro 'define_test_server' 2527 | define_test_server("/TP/GAD/SR/BV-03-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: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-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-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:270:2: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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", | ^~~~~~~~~~ unit/test-avrcp.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-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: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:2540:2: note: in expansion of macro 'define_test_att' 2540 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1809:2: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", 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: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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-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-gatt.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:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1809:2: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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", | ^~~~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1818:2: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ unit/test-gatt.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:2540:2: note: in expansion of macro 'define_test_att' 2540 | 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-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-gatt.c: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", | ^~~~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:303:2: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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: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:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", 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:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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:1845:2: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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-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-gatt.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:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1998:2: note: in expansion of macro 'define_test' 1998 | define_test("/TP/VLH/BI-03-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:2554:2: note: in expansion of macro 'define_test_server' 2554 | 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-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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c: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-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:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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, | ^~~~~~~~ CCLD unit/test-ecc unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2571:2: note: in expansion of macro 'define_test_server' 2571 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2571:2: note: in expansion of macro 'define_test_server' 2571 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:324:2: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2571:2: note: in expansion of macro 'define_test_server' 2571 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2571:2: note: in expansion of macro 'define_test_server' 2571 | 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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2007:2: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2571:2: note: in expansion of macro 'define_test_server' 2571 | 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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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: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:2571:2: note: in expansion of macro 'define_test_server' 2571 | 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-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2024:2: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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: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-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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-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: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2580:2: note: in expansion of macro 'define_test_server' 2580 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1875:2: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:2: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-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:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2593:2: note: in expansion of macro 'define_test_att' 2593 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-gatt.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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-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-gatt.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:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-gatt.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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-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-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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:357:2: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1900:2: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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, | ^~~~~~~~ CCLD unit/test-ringbuf unit/test-gatt.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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2046:2: note: in expansion of macro 'define_test' 2046 | define_test("/TP/RCR/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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: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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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-avrcp.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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:2593:2: note: in expansion of macro 'define_test_att' 2593 | 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: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1915:2: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2068:2: note: in expansion of macro 'define_test' 2068 | define_test("/TP/RCR/BV-04-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:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1930:2: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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: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-hog.c:73:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:400:2: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1955:2: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1969:2: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:2: note: in expansion of macro 'define_test_server' 2607 | 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: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: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: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:2607:2: note: in expansion of macro 'define_test_server' 2607 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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-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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2624:2: note: in expansion of macro 'define_test_server' 2624 | 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2624:2: note: in expansion of macro 'define_test_server' 2624 | 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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:1983:2: note: in expansion of macro 'define_ssa' 1983 | define_ssa("BV-18-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2624:2: note: in expansion of macro 'define_test_server' 2624 | 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:2007:2: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2624:2: note: in expansion of macro 'define_test_server' 2624 | 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2624:2: note: in expansion of macro 'define_test_server' 2624 | 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:2007:2: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: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:2624:2: note: in expansion of macro 'define_test_server' 2624 | 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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2007:2: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2014:2: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2014:2: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2014:2: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2021:2: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2021:2: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2021:2: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2037:2: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2037:2: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2037:2: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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:2045:2: note: in expansion of macro 'define_ssa' 2045 | define_ssa("BV-20-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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: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-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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2633:2: note: in expansion of macro 'define_test_server' 2633 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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: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: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:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c:2070:2: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: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:2633:2: note: in expansion of macro 'define_test_server' 2633 | 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:2079:2: note: in expansion of macro 'define_ssa' 2079 | define_ssa("BV-21-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2646:2: note: in expansion of macro 'define_test_att' 2646 | 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:2079:2: note: in expansion of macro 'define_ssa' 2079 | define_ssa("BV-21-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:2646:2: note: in expansion of macro 'define_test_att' 2646 | 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:2646:2: note: in expansion of macro 'define_test_att' 2646 | 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:2079:2: note: in expansion of macro 'define_ssa' 2079 | define_ssa("BV-21-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2646:2: note: in expansion of macro 'define_test_att' 2646 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2646:2: note: in expansion of macro 'define_test_att' 2646 | 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: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: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:2646:2: note: in expansion of macro 'define_test_att' 2646 | 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: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: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:2646:2: note: in expansion of macro 'define_test_att' 2646 | 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: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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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, | ^~~~~~~~ CCLD unit/test-queue unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: in expansion of macro 'define_test' 75 | #define define_ssa(name, args...) define_test("/TP/SERVER/SSA/" name, 48, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", 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: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-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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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: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:2655:2: note: in expansion of macro 'define_test_client' 2655 | 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: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-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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", 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: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-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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", 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: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-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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2203:2: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2203:2: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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:2203:2: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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, | ^~~~~~~~ CCLD unit/test-mgmt unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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: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:2659:2: note: in expansion of macro 'define_test_client' 2659 | 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: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-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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:76:35: note: 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': In file included from /usr/include/glib-2.0/glib.h:82, from 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, | ^~~~~~~~ profiles/deviceinfo/dis.c:146:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 146 | dis->primary = g_memdup(primary, sizeof(*dis->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/deviceinfo/dis.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | 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: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:2663:2: note: in expansion of macro 'define_test_client' 2663 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2667:2: note: in expansion of macro 'define_test_server' 2667 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2667:2: note: in expansion of macro 'define_test_server' 2667 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2667:2: note: in expansion of macro 'define_test_server' 2667 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2667:2: note: in expansion of macro 'define_test_server' 2667 | 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-uhid unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2674:2: note: in expansion of macro 'define_test_server' 2674 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2674:2: note: in expansion of macro 'define_test_server' 2674 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2674:2: note: in expansion of macro 'define_test_server' 2674 | 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-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:2: note: in expansion of macro 'define_test_server' 2674 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2674:2: note: in expansion of macro 'define_test_server' 2674 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC android/avdtp.o unit/test-gatt.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:2674:2: note: in expansion of macro 'define_test_server' 2674 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c: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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2221:2: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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:2685:2: note: in expansion of macro 'define_test_client' 2685 | 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:76:35: note: 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: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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:2691:2: note: in expansion of macro 'define_test_client' 2691 | 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:76:35: note: 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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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, | ^~~~~~~~ profiles/battery/bas.c: In function 'bt_bas_new': profiles/battery/bas.c:78:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 78 | bas->primary = g_memdup(primary, sizeof(*bas->primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/battery/bas.c:18: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2697:2: note: in expansion of macro 'define_test_client' 2697 | 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:76:35: note: 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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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, | ^~~~~~~~ CCLD unit/test-gobex-packet unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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-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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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, | ^~~~~~~~ CCLD unit/test-gobex-apparam unit/test-gatt.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:2703:2: note: in expansion of macro 'define_test_client' 2703 | 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:76:35: note: 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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | define_test_client("/TP/GAR/CL/BI-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: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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | define_test_client("/TP/GAR/CL/BI-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: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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:2709:2: note: in expansion of macro 'define_test_client' 2709 | 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:76:35: note: 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-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:2465:2: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2715:2: note: in expansion of macro 'define_test_client' 2715 | 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:76:35: note: 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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:2723:2: note: in expansion of macro 'define_test_client' 2723 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-eir unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2723:2: note: in expansion of macro 'define_test_client' 2723 | 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: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:2723:2: note: in expansion of macro 'define_test_client' 2723 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2723:2: note: in expansion of macro 'define_test_client' 2723 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2729:2: note: in expansion of macro 'define_test_server' 2729 | 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:2729:2: note: in expansion of macro 'define_test_server' 2729 | 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:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2729:2: note: in expansion of macro 'define_test_server' 2729 | 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:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2729:2: note: in expansion of macro 'define_test_server' 2729 | 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-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:2735:2: note: in expansion of macro 'define_test_server' 2735 | 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:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2735:2: note: in expansion of macro 'define_test_server' 2735 | 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:2735:2: note: in expansion of macro 'define_test_server' 2735 | 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:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2735:2: note: in expansion of macro 'define_test_server' 2735 | 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:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2735:2: note: in expansion of macro 'define_test_server' 2735 | 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:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2735:2: note: in expansion of macro 'define_test_server' 2735 | 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:2747:2: note: in expansion of macro 'define_test_server' 2747 | 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:2747:2: note: in expansion of macro 'define_test_server' 2747 | 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-sdp.c:67:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 67 | static struct test_data data; \ | ^~~~~~~~~ unit/test-sdp.c:76:35: note: in expansion of macro 'define_test' 76 | #define define_brw(name, args...) define_test("/TP/SERVER/BRW/" name, 672, args) | ^~~~~~~~~~~ unit/test-sdp.c:2674:2: note: in expansion of macro 'define_brw' 2674 | define_brw("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2747:2: note: in expansion of macro 'define_test_server' 2747 | 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-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: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:2747:2: note: in expansion of macro 'define_test_server' 2747 | 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:2753:2: note: in expansion of macro 'define_test_server' 2753 | 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: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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2753:2: note: in expansion of macro 'define_test_server' 2753 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2753:2: note: in expansion of macro 'define_test_server' 2753 | 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: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: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:2753:2: note: in expansion of macro 'define_test_server' 2753 | 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: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: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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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: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: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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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: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: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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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: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", | ^~~~~~~~~~~~~~~~~~~ unit/test-gatt.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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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-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:2759:2: note: in expansion of macro 'define_test_att' 2759 | 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: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: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:2768:2: note: in expansion of macro 'define_test_att' 2768 | 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: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: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:2768:2: note: in expansion of macro 'define_test_att' 2768 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:2: note: in expansion of macro 'define_test_att' 2768 | 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: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: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:2768:2: note: in expansion of macro 'define_test_att' 2768 | 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: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: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:2768:2: note: in expansion of macro 'define_test_att' 2768 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:2: note: in expansion of macro 'define_test_att' 2768 | 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: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: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:2768:2: note: in expansion of macro 'define_test_att' 2768 | 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:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2762:2: note: in expansion of macro 'define_test_de_attr' 2762 | define_test_de_attr("INT32", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c: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/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:2783:2: note: in expansion of macro 'define_test_att' 2783 | 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:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2765:2: note: in expansion of macro 'define_test_de_attr' 2765 | define_test_de_attr("UINT64", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c: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/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:2783:2: note: in expansion of macro 'define_test_att' 2783 | 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:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2769:2: note: in expansion of macro 'define_test_de_attr' 2769 | define_test_de_attr("INT64", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: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/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, | ^~~~~~~~ CCLD unit/test-gobex-header unit/test-sdp.c:94:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2774:2: note: in expansion of macro 'define_test_de_attr' 2774 | define_test_de_attr("UINT128", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c: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:2789:2: note: in expansion of macro 'define_test_att' 2789 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2789:2: note: in expansion of macro 'define_test_att' 2789 | 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: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: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:2789:2: note: in expansion of macro 'define_test_att' 2789 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2789:2: note: in expansion of macro 'define_test_att' 2789 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2789:2: note: in expansion of macro 'define_test_att' 2789 | 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: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: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:2795:2: note: in expansion of macro 'define_test_att' 2795 | 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:2795:2: note: in expansion of macro 'define_test_att' 2795 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ unit/test-sdp.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-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2795:2: note: in expansion of macro 'define_test_att' 2795 | 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: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: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:2795:2: note: in expansion of macro 'define_test_att' 2795 | 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:2795:2: note: in expansion of macro 'define_test_att' 2795 | 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: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: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:2801:2: note: in expansion of macro 'define_test_att' 2801 | 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: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: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:2801:2: note: in expansion of macro 'define_test_att' 2801 | 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: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: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:2801:2: note: in expansion of macro 'define_test_att' 2801 | 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:2801:2: note: in expansion of macro 'define_test_att' 2801 | 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: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: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:2801:2: note: in expansion of macro 'define_test_att' 2801 | 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:2807:2: note: in expansion of macro 'define_test_att' 2807 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2807:2: note: in expansion of macro 'define_test_att' 2807 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2807:2: note: in expansion of macro 'define_test_att' 2807 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:2: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2807:2: note: in expansion of macro 'define_test_att' 2807 | 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:2807:2: note: in expansion of macro 'define_test_att' 2807 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2813:2: note: in expansion of macro 'define_test_server' 2813 | 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:2813:2: note: in expansion of macro 'define_test_server' 2813 | 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:2813:2: note: in expansion of macro 'define_test_server' 2813 | 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:2813:2: note: in expansion of macro 'define_test_server' 2813 | 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-textfile unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2813:2: note: in expansion of macro 'define_test_server' 2813 | 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:2813:2: note: in expansion of macro 'define_test_server' 2813 | 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:2824:2: note: in expansion of macro 'define_test_server' 2824 | 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:2824:2: note: in expansion of macro 'define_test_server' 2824 | 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:2824:2: note: in expansion of macro 'define_test_server' 2824 | 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:2824:2: note: in expansion of macro 'define_test_server' 2824 | 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:2824:2: note: in expansion of macro 'define_test_server' 2824 | 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:2824:2: note: in expansion of macro 'define_test_server' 2824 | 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:2837:2: note: in expansion of macro 'define_test_server' 2837 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2837:2: note: in expansion of macro 'define_test_server' 2837 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2837:2: note: in expansion of macro 'define_test_server' 2837 | 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:2837:2: note: in expansion of macro 'define_test_server' 2837 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2843:2: note: in expansion of macro 'define_test_server' 2843 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2843:2: note: in expansion of macro 'define_test_server' 2843 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2843:2: note: in expansion of macro 'define_test_server' 2843 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2843:2: note: in expansion of macro 'define_test_server' 2843 | 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, | ^~~~~~~~ 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:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2849:2: note: in expansion of macro 'define_test_server' 2849 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2849:2: note: in expansion of macro 'define_test_server' 2849 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2849:2: note: in expansion of macro 'define_test_server' 2849 | 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:2849:2: note: in expansion of macro 'define_test_server' 2849 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2855:2: note: in expansion of macro 'define_test_server' 2855 | 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:2855:2: note: in expansion of macro 'define_test_server' 2855 | 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:2855:2: note: in expansion of macro 'define_test_server' 2855 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2855:2: note: in expansion of macro 'define_test_server' 2855 | 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-crc unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2861:2: note: in expansion of macro 'define_test_server' 2861 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2861:2: note: in expansion of macro 'define_test_server' 2861 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2861:2: note: in expansion of macro 'define_test_server' 2861 | 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:2861:2: note: in expansion of macro 'define_test_server' 2861 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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, | ^~~~~~~~ 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2867:2: note: in expansion of macro 'define_test_server' 2867 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2867:2: note: in expansion of macro 'define_test_server' 2867 | 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:2883:2: note: in expansion of macro 'define_test_server' 2883 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2883:2: note: in expansion of macro 'define_test_server' 2883 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2883:2: note: in expansion of macro 'define_test_server' 2883 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2883:2: note: in expansion of macro 'define_test_server' 2883 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2889:2: note: in expansion of macro 'define_test_server' 2889 | 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:2889:2: note: in expansion of macro 'define_test_server' 2889 | 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:2889:2: note: in expansion of macro 'define_test_server' 2889 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2889:2: note: in expansion of macro 'define_test_server' 2889 | 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:2895:2: note: in expansion of macro 'define_test_server' 2895 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2895:2: note: in expansion of macro 'define_test_server' 2895 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2895:2: note: in expansion of macro 'define_test_server' 2895 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2895:2: note: in expansion of macro 'define_test_server' 2895 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2901:2: note: in expansion of macro 'define_test_server' 2901 | 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:2901:2: note: in expansion of macro 'define_test_server' 2901 | 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:2901:2: note: in expansion of macro 'define_test_server' 2901 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2901:2: note: in expansion of macro 'define_test_server' 2901 | 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:2907:2: note: in expansion of macro 'define_test_server' 2907 | 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:2907:2: note: in expansion of macro 'define_test_server' 2907 | 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:2907:2: note: in expansion of macro 'define_test_server' 2907 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2907:2: note: in expansion of macro 'define_test_server' 2907 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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, | ^~~~~~~~ CCLD unit/test-gdbus-client unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-uhid unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | 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:2913:2: note: in expansion of macro 'define_test_client' 2913 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-mgmt PASS: unit/test-gobex-apparam unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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:2919:2: note: in expansion of macro 'define_test_client' 2919 | 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, | ^~~~~~~~ PASS: unit/test-gobex-header unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-queue unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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, | ^~~~~~~~ CCLD unit/test-gattrib unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3029:2: note: in expansion of macro 'define_test_client' 3029 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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-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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3035:2: note: in expansion of macro 'define_test_client' 3035 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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-eir unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3041:2: note: in expansion of macro 'define_test_client' 3041 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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, | ^~~~~~~~ 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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, | ^~~~~~~~ PASS: unit/test-gdbus-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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3047:2: note: in expansion of macro 'define_test_client' 3047 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3053:2: note: in expansion of macro 'define_test_client' 3053 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3059:2: note: in expansion of macro 'define_test_client' 3059 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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, | ^~~~~~~~ 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3065:2: note: in expansion of macro 'define_test_client' 3065 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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, | ^~~~~~~~ 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3073:2: note: in expansion of macro 'define_test_client' 3073 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3079:2: note: in expansion of macro 'define_test_client' 3079 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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, | ^~~~~~~~ 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3085:2: note: in expansion of macro 'define_test_client' 3085 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3091:2: note: in expansion of macro 'define_test_client' 3091 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3097:2: note: in expansion of macro 'define_test_client' 3097 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3103:2: note: in expansion of macro 'define_test_client' 3103 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3111:2: note: in expansion of macro 'define_test_client' 3111 | 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:3117:2: note: in expansion of macro 'define_test_server' 3117 | 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:3117:2: note: in expansion of macro 'define_test_server' 3117 | 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:3117:2: note: in expansion of macro 'define_test_server' 3117 | 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:3117:2: note: in expansion of macro 'define_test_server' 3117 | 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:3123:2: note: in expansion of macro 'define_test_server' 3123 | 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:3123:2: note: in expansion of macro 'define_test_server' 3123 | 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:3123:2: note: in expansion of macro 'define_test_server' 3123 | 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:3123:2: note: in expansion of macro 'define_test_server' 3123 | 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:3131:2: note: in expansion of macro 'define_test_server' 3131 | 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:3131:2: note: in expansion of macro 'define_test_server' 3131 | 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:3131:2: note: in expansion of macro 'define_test_server' 3131 | 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:3131:2: note: in expansion of macro 'define_test_server' 3131 | 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:3137:2: note: in expansion of macro 'define_test_server' 3137 | 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:3137:2: note: in expansion of macro 'define_test_server' 3137 | 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:3137:2: note: in expansion of macro 'define_test_server' 3137 | 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:3137:2: note: in expansion of macro 'define_test_server' 3137 | 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:3143:2: note: in expansion of macro 'define_test_server' 3143 | 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:3143:2: note: in expansion of macro 'define_test_server' 3143 | 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:3143:2: note: in expansion of macro 'define_test_server' 3143 | 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:3143:2: note: in expansion of macro 'define_test_server' 3143 | 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:3149:2: note: in expansion of macro 'define_test_server' 3149 | 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:3149:2: note: in expansion of macro 'define_test_server' 3149 | 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:3149:2: note: in expansion of macro 'define_test_server' 3149 | 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:3149:2: note: in expansion of macro 'define_test_server' 3149 | 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:3156:2: note: in expansion of macro 'define_test_server' 3156 | 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:3156:2: note: in expansion of macro 'define_test_server' 3156 | 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:3156:2: note: in expansion of macro 'define_test_server' 3156 | 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:3156:2: note: in expansion of macro 'define_test_server' 3156 | 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:3164:2: note: in expansion of macro 'define_test_server' 3164 | 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:3164:2: note: in expansion of macro 'define_test_server' 3164 | 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:3164:2: note: in expansion of macro 'define_test_server' 3164 | 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:3164:2: note: in expansion of macro 'define_test_server' 3164 | 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:3170:2: note: in expansion of macro 'define_test_server' 3170 | 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:3170:2: note: in expansion of macro 'define_test_server' 3170 | 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:3170:2: note: in expansion of macro 'define_test_server' 3170 | 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:3170:2: note: in expansion of macro 'define_test_server' 3170 | 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:3176:2: note: in expansion of macro 'define_test_server' 3176 | 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:3176:2: note: in expansion of macro 'define_test_server' 3176 | 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:3176:2: note: in expansion of macro 'define_test_server' 3176 | 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:3176:2: note: in expansion of macro 'define_test_server' 3176 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3182:2: note: in expansion of macro 'define_test_server' 3182 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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, | ^~~~~~~~ CCLD unit/test-hog unit/test-gatt.c:91:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3196:2: note: in expansion of macro 'define_test_server' 3196 | 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:3210:2: note: in expansion of macro 'define_test_server' 3210 | 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:3210:2: note: in expansion of macro 'define_test_server' 3210 | 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:3210:2: note: in expansion of macro 'define_test_server' 3210 | 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:3210:2: note: in expansion of macro 'define_test_server' 3210 | 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:3216:2: note: in expansion of macro 'define_test_server' 3216 | 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:3216:2: note: in expansion of macro 'define_test_server' 3216 | 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:3216:2: note: in expansion of macro 'define_test_server' 3216 | 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:3216:2: note: in expansion of macro 'define_test_server' 3216 | 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:3222:2: note: in expansion of macro 'define_test_server' 3222 | 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:3222:2: note: in expansion of macro 'define_test_server' 3222 | 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:3222:2: note: in expansion of macro 'define_test_server' 3222 | 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:3222:2: note: in expansion of macro 'define_test_server' 3222 | 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:3228:2: note: in expansion of macro 'define_test_server' 3228 | 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:3228:2: note: in expansion of macro 'define_test_server' 3228 | 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:3228:2: note: in expansion of macro 'define_test_server' 3228 | 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:3228:2: note: in expansion of macro 'define_test_server' 3228 | 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:3234:2: note: in expansion of macro 'define_test_server' 3234 | 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:3234:2: note: in expansion of macro 'define_test_server' 3234 | 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:3234:2: note: in expansion of macro 'define_test_server' 3234 | 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:3234:2: note: in expansion of macro 'define_test_server' 3234 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | 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:3240:2: note: in expansion of macro 'define_test_client' 3240 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:2: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:2: note: in expansion of macro 'define_test_server' 3249 | 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:3249:2: note: in expansion of macro 'define_test_server' 3249 | 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:3249:2: note: in expansion of macro 'define_test_server' 3249 | 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:3249:2: note: in expansion of macro 'define_test_server' 3249 | 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:3249:2: note: in expansion of macro 'define_test_server' 3249 | 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:3249:2: note: in expansion of macro 'define_test_server' 3249 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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:3257:2: note: in expansion of macro 'define_test_server' 3257 | 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, | ^~~~~~~~ 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3266:2: note: in expansion of macro 'define_test_client' 3266 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3276:2: note: in expansion of macro 'define_test_client' 3276 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | 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:3282:2: note: in expansion of macro 'define_test_client' 3282 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ PASS: unit/test-hog In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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, | ^~~~~~~~ PASS: unit/test-hfp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3288:2: note: in expansion of macro 'define_test_client' 3288 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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, | ^~~~~~~~ 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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:3294:2: note: in expansion of macro 'define_test_client' 3294 | 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, | ^~~~~~~~ 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3300:2: note: in expansion of macro 'define_test_client' 3300 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3306:2: note: in expansion of macro 'define_test_client' 3306 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3314:2: note: in expansion of macro 'define_test_client' 3314 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3320:2: note: in expansion of macro 'define_test_client' 3320 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3326:2: note: in expansion of macro 'define_test_client' 3326 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3436:2: note: in expansion of macro 'define_test_client' 3436 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3442:2: note: in expansion of macro 'define_test_client' 3442 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3448:2: note: in expansion of macro 'define_test_client' 3448 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3454:2: note: in expansion of macro 'define_test_client' 3454 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3460:2: note: in expansion of macro 'define_test_client' 3460 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3466:2: note: in expansion of macro 'define_test_client' 3466 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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, | ^~~~~~~~ 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:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3474:2: note: in expansion of macro 'define_test_client' 3474 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3480:2: note: in expansion of macro 'define_test_client' 3480 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3486:2: note: in expansion of macro 'define_test_client' 3486 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3492:2: note: in expansion of macro 'define_test_client' 3492 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3497:2: note: in expansion of macro 'define_test_client' 3497 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3504:2: note: in expansion of macro 'define_test_client' 3504 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3509:2: note: in expansion of macro 'define_test_client' 3509 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3515:2: note: in expansion of macro 'define_test_client' 3515 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3521:2: note: in expansion of macro 'define_test_client' 3521 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3527:2: note: in expansion of macro 'define_test_client' 3527 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3533:2: note: in expansion of macro 'define_test_client' 3533 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3539:2: note: in expansion of macro 'define_test_client' 3539 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3547:2: note: in expansion of macro 'define_test_client' 3547 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3553:2: note: in expansion of macro 'define_test_server' 3553 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3563:2: note: in expansion of macro 'define_test_server' 3563 | 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:3575:2: note: in expansion of macro 'define_test_server' 3575 | 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:3575:2: note: in expansion of macro 'define_test_server' 3575 | 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:3575:2: note: in expansion of macro 'define_test_server' 3575 | 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:3575:2: note: in expansion of macro 'define_test_server' 3575 | 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:3581:2: note: in expansion of macro 'define_test_server' 3581 | 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:3581:2: note: in expansion of macro 'define_test_server' 3581 | 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:3581:2: note: in expansion of macro 'define_test_server' 3581 | 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:3581:2: note: in expansion of macro 'define_test_server' 3581 | 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:3587:2: note: in expansion of macro 'define_test_server' 3587 | 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:3587:2: note: in expansion of macro 'define_test_server' 3587 | 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:3587:2: note: in expansion of macro 'define_test_server' 3587 | 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:3587:2: note: in expansion of macro 'define_test_server' 3587 | 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:3593:2: note: in expansion of macro 'define_test_server' 3593 | 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:3593:2: note: in expansion of macro 'define_test_server' 3593 | 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:3593:2: note: in expansion of macro 'define_test_server' 3593 | 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:3593:2: note: in expansion of macro 'define_test_server' 3593 | 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:3599:2: note: in expansion of macro 'define_test_server' 3599 | 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:3599:2: note: in expansion of macro 'define_test_server' 3599 | 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:3599:2: note: in expansion of macro 'define_test_server' 3599 | 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:3599:2: note: in expansion of macro 'define_test_server' 3599 | 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:3605:2: note: in expansion of macro 'define_test_server' 3605 | 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:3605:2: note: in expansion of macro 'define_test_server' 3605 | 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:3605:2: note: in expansion of macro 'define_test_server' 3605 | 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:3605:2: note: in expansion of macro 'define_test_server' 3605 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3611:2: note: in expansion of macro 'define_test_client' 3611 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3827:2: note: in expansion of macro 'define_test_client' 3827 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3835:2: note: in expansion of macro 'define_test_client' 3835 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3843:2: note: in expansion of macro 'define_test_client' 3843 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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:3851:2: note: in expansion of macro 'define_test_client' 3851 | 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, | ^~~~~~~~ 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3859:2: note: in expansion of macro 'define_test_client' 3859 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3867:2: note: in expansion of macro 'define_test_server' 3867 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3881:2: note: in expansion of macro 'define_test_server' 3881 | 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:3895:2: note: in expansion of macro 'define_test_server' 3895 | 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:3895:2: note: in expansion of macro 'define_test_server' 3895 | 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:3895:2: note: in expansion of macro 'define_test_server' 3895 | 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:3895:2: note: in expansion of macro 'define_test_server' 3895 | 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:3903:2: note: in expansion of macro 'define_test_server' 3903 | 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:3903:2: note: in expansion of macro 'define_test_server' 3903 | 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:3903:2: note: in expansion of macro 'define_test_server' 3903 | 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:3903:2: note: in expansion of macro 'define_test_server' 3903 | 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:3911:2: note: in expansion of macro 'define_test_server' 3911 | 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:3911:2: note: in expansion of macro 'define_test_server' 3911 | 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:3911:2: note: in expansion of macro 'define_test_server' 3911 | 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:3911:2: note: in expansion of macro 'define_test_server' 3911 | 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:3919:2: note: in expansion of macro 'define_test_server' 3919 | 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:3919:2: note: in expansion of macro 'define_test_server' 3919 | 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:3919:2: note: in expansion of macro 'define_test_server' 3919 | 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:3919:2: note: in expansion of macro 'define_test_server' 3919 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3927:2: note: in expansion of macro 'define_test_client' 3927 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3935:2: note: in expansion of macro 'define_test_client' 3935 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3943:2: note: in expansion of macro 'define_test_client' 3943 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3951:2: note: in expansion of macro 'define_test_client' 3951 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3959:2: note: in expansion of macro 'define_test_client' 3959 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3967:2: note: in expansion of macro 'define_test_client' 3967 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3977:2: note: in expansion of macro 'define_test_client' 3977 | 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:3985:2: note: in expansion of macro 'define_test_server' 3985 | 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:3985:2: note: in expansion of macro 'define_test_server' 3985 | 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:3985:2: note: in expansion of macro 'define_test_server' 3985 | 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:3985:2: note: in expansion of macro 'define_test_server' 3985 | 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:3985:2: note: in expansion of macro 'define_test_server' 3985 | 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:3985:2: note: in expansion of macro 'define_test_server' 3985 | 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:3993:2: note: in expansion of macro 'define_test_server' 3993 | 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:3993:2: note: in expansion of macro 'define_test_server' 3993 | 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:3993:2: note: in expansion of macro 'define_test_server' 3993 | 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:3993:2: note: in expansion of macro 'define_test_server' 3993 | 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:3993:2: note: in expansion of macro 'define_test_server' 3993 | 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:3993:2: note: in expansion of macro 'define_test_server' 3993 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4001:2: note: in expansion of macro 'define_test_server' 4001 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4015:2: note: in expansion of macro 'define_test_server' 4015 | 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:4029:2: note: in expansion of macro 'define_test_server' 4029 | 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:4029:2: note: in expansion of macro 'define_test_server' 4029 | 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:4029:2: note: in expansion of macro 'define_test_server' 4029 | 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:4029:2: note: in expansion of macro 'define_test_server' 4029 | 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:4035:2: note: in expansion of macro 'define_test_server' 4035 | 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:4035:2: note: in expansion of macro 'define_test_server' 4035 | 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:4035:2: note: in expansion of macro 'define_test_server' 4035 | 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:4035:2: note: in expansion of macro 'define_test_server' 4035 | 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:4041:2: note: in expansion of macro 'define_test_server' 4041 | 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:4041:2: note: in expansion of macro 'define_test_server' 4041 | 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:4041:2: note: in expansion of macro 'define_test_server' 4041 | 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:4041:2: note: in expansion of macro 'define_test_server' 4041 | 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:4047:2: note: in expansion of macro 'define_test_server' 4047 | 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:4047:2: note: in expansion of macro 'define_test_server' 4047 | 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:4047:2: note: in expansion of macro 'define_test_server' 4047 | 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:4047:2: note: in expansion of macro 'define_test_server' 4047 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4053:2: note: in expansion of macro 'define_test_client' 4053 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4059:2: note: in expansion of macro 'define_test_client' 4059 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4065:2: note: in expansion of macro 'define_test_client' 4065 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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, | ^~~~~~~~ CCLD unit/test-sdp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4071:2: note: in expansion of macro 'define_test_client' 4071 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4077:2: note: in expansion of macro 'define_test_client' 4077 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4083:2: note: in expansion of macro 'define_test_client' 4083 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4091:2: note: in expansion of macro 'define_test_client' 4091 | 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:4097:2: note: in expansion of macro 'define_test_server' 4097 | 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:4097:2: note: in expansion of macro 'define_test_server' 4097 | 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:4097:2: note: in expansion of macro 'define_test_server' 4097 | 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:4097:2: note: in expansion of macro 'define_test_server' 4097 | 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:4103:2: note: in expansion of macro 'define_test_server' 4103 | 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:4103:2: note: in expansion of macro 'define_test_server' 4103 | 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:4103:2: note: in expansion of macro 'define_test_server' 4103 | 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:4103:2: note: in expansion of macro 'define_test_server' 4103 | 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:4109:2: note: in expansion of macro 'define_test_server' 4109 | 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:4109:2: note: in expansion of macro 'define_test_server' 4109 | 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:4109:2: note: in expansion of macro 'define_test_server' 4109 | 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:4109:2: note: in expansion of macro 'define_test_server' 4109 | 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:4115:2: note: in expansion of macro 'define_test_server' 4115 | 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:4115:2: note: in expansion of macro 'define_test_server' 4115 | 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:4115:2: note: in expansion of macro 'define_test_server' 4115 | 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:4115:2: note: in expansion of macro 'define_test_server' 4115 | 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:4121:2: note: in expansion of macro 'define_test_server' 4121 | 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:4121:2: note: in expansion of macro 'define_test_server' 4121 | 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:4121:2: note: in expansion of macro 'define_test_server' 4121 | 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:4121:2: note: in expansion of macro 'define_test_server' 4121 | 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:4127:2: note: in expansion of macro 'define_test_server' 4127 | 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:4127:2: note: in expansion of macro 'define_test_server' 4127 | 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:4127:2: note: in expansion of macro 'define_test_server' 4127 | 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:4127:2: note: in expansion of macro 'define_test_server' 4127 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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, | ^~~~~~~~ PASS: unit/test-sdp unit/test-gatt.c:88:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:2: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4133:2: note: in expansion of macro 'define_test_client' 4133 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4349:2: note: in expansion of macro 'define_test_client' 4349 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4357:2: note: in expansion of macro 'define_test_client' 4357 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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, | ^~~~~~~~ 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4365:2: note: in expansion of macro 'define_test_client' 4365 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4373:2: note: in expansion of macro 'define_test_client' 4373 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4381:2: note: in expansion of macro 'define_test_client' 4381 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4389:2: note: in expansion of macro 'define_test_server' 4389 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4403:2: note: in expansion of macro 'define_test_server' 4403 | 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:4417:2: note: in expansion of macro 'define_test_server' 4417 | 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:4417:2: note: in expansion of macro 'define_test_server' 4417 | 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:4417:2: note: in expansion of macro 'define_test_server' 4417 | 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:4417:2: note: in expansion of macro 'define_test_server' 4417 | 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:4425:2: note: in expansion of macro 'define_test_server' 4425 | 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:4425:2: note: in expansion of macro 'define_test_server' 4425 | 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:4425:2: note: in expansion of macro 'define_test_server' 4425 | 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:4425:2: note: in expansion of macro 'define_test_server' 4425 | 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:4433:2: note: in expansion of macro 'define_test_server' 4433 | 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:4433:2: note: in expansion of macro 'define_test_server' 4433 | 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:4433:2: note: in expansion of macro 'define_test_server' 4433 | 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:4433:2: note: in expansion of macro 'define_test_server' 4433 | 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:4441:2: note: in expansion of macro 'define_test_server' 4441 | 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:4441:2: note: in expansion of macro 'define_test_server' 4441 | 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:4441:2: note: in expansion of macro 'define_test_server' 4441 | 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:4441:2: note: in expansion of macro 'define_test_server' 4441 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4449:2: note: in expansion of macro 'define_test_server' 4449 | 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:4469:2: note: in expansion of macro 'define_test_server' 4469 | 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:4469:2: note: in expansion of macro 'define_test_server' 4469 | 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:4469:2: note: in expansion of macro 'define_test_server' 4469 | 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:4469:2: note: in expansion of macro 'define_test_server' 4469 | 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-avdtp PASS: unit/test-ringbuf PASS: unit/test-avrcp PASS: unit/test-gobex-transfer CCLD unit/test-gatt PASS: unit/test-gatt ============================================================================ Testsuite summary for bluez 5.58 ============================================================================ # TOTAL: 25 # PASS: 25 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ >>> bluez: Entering fakeroot... make --no-print-directory install-am ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/system.d' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man1' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man8' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/pkgconfig' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/include/bluetooth' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' ./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/lib/udev' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' ./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' /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 '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man8' /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 tools/hid2hci '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' /usr/bin/install -c -m 644 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 src/bluetoothd obexd/src/obexd mesh/bluetooth-meshd '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth' /bin/sh ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend' libtool: install: /usr/bin/install -c tools/hid2hci /home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/hid2hci libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.so /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins/sixaxis.so libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.so.3.19.5 /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.so.3.19.5 libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.5 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.5 libbluetooth.so.3; }; }) 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: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.5 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.5 libbluetooth.so; }; }) libtool: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c profiles/cups/bluetooth /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend/bluetooth libtool: install: /usr/bin/install -c src/bluetoothd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetoothd 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' 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 mesh/bluetooth-meshd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetooth-meshd /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/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 client/bluetoothctl /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/bluetoothctl 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/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-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-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/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 >>> WARNING: bluez*: Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc >>> bluez*: Preparing package bluez... >>> bluez*: Stripping binaries >>> bluez-btmgmt*: Scanning shared objects >>> bluez-btmon*: Scanning shared objects >>> bluez-cups*: 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-plugins*: Scanning shared objects >>> bluez-zsh-completion*: Scanning shared objects >>> bluez*: Scanning shared objects >>> bluez-btmgmt*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libreadline.so.8 >>> bluez-btmgmt*: Package size: 336.0 KB >>> bluez-btmgmt*: Compressing data... >>> bluez-btmgmt*: Create checksum... >>> bluez-btmgmt*: Create bluez-btmgmt-5.58-r2.apk >>> bluez-btmon*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libudev.so.1 >>> bluez-btmon*: Package size: 764.0 KB >>> bluez-btmon*: Compressing data... >>> bluez-btmon*: Create checksum... >>> bluez-btmon*: Create bluez-btmon-5.58-r2.apk >>> bluez-cups*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 >>> bluez-cups*: Package size: 224.0 KB >>> bluez-cups*: Compressing data... >>> bluez-cups*: Create checksum... >>> bluez-cups*: Create bluez-cups-5.58-r2.apk >>> bluez-deprecated*: Tracing dependencies... dbus so:libc.musl-x86.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.58-r2.apk >>> bluez-dev*: Tracing dependencies... bluez-libs=5.58-r2 pkgconfig >>> bluez-dev*: Package size: 188.0 KB >>> bluez-dev*: Compressing data... >>> bluez-dev*: Create checksum... >>> bluez-dev*: Create bluez-dev-5.58-r2.apk >>> bluez-doc*: Tracing dependencies... >>> bluez-doc*: Package size: 72.0 KB >>> bluez-doc*: Compressing data... >>> bluez-doc*: Create checksum... >>> bluez-doc*: Create bluez-doc-5.58-r2.apk >>> bluez-hid2hci*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libudev.so.1 >>> bluez-hid2hci*: Package size: 36.0 KB >>> bluez-hid2hci*: Compressing data... >>> bluez-hid2hci*: Create checksum... >>> bluez-hid2hci*: Create bluez-hid2hci-5.58-r2.apk >>> bluez-libs*: Tracing dependencies... so:libc.musl-x86.so.1 >>> bluez-libs*: Package size: 192.0 KB >>> bluez-libs*: Compressing data... >>> bluez-libs*: Create checksum... >>> bluez-libs*: Create bluez-libs-5.58-r2.apk >>> bluez-meshctl*: Tracing dependencies... dbus so:libc.musl-x86.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: 260.0 KB >>> bluez-meshctl*: Compressing data... >>> bluez-meshctl*: Create checksum... >>> bluez-meshctl*: Create bluez-meshctl-5.58-r2.apk >>> bluez-obexd*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libicalvcal.so.3 >>> bluez-obexd*: Package size: 544.0 KB >>> bluez-obexd*: Compressing data... >>> bluez-obexd*: Create checksum... >>> bluez-obexd*: Create bluez-obexd-5.58-r2.apk >>> bluez-plugins*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libudev.so.1 >>> bluez-plugins*: Package size: 48.0 KB >>> bluez-plugins*: Compressing data... >>> bluez-plugins*: Create checksum... >>> bluez-plugins*: Create bluez-plugins-5.58-r2.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.58-r2.apk >>> bluez*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libjson-c.so.5 so:libreadline.so.8 so:libudev.so.1 >>> bluez*: Package size: 3.0 MB >>> bluez*: Compressing data... >>> bluez*: Create checksum... >>> bluez*: Create bluez-5.58-r2.apk >>> bluez: Build complete at Mon, 14 Jun 2021 07:51:03 +0000 elapsed time 0h 1m 11s >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Uninstalling dependencies... (1/130) Purging .makedepends-bluez (20210614.074952) (2/130) Purging dbus-openrc (1.12.20-r2) (3/130) Purging dbus (1.12.20-r2) (4/130) Purging dbus-dev (1.12.20-r2) (5/130) Purging dbus-libs (1.12.20-r2) (6/130) Purging libusb-compat-dev (0.1.5-r4) (7/130) Purging libusb-compat (0.1.5-r4) (8/130) Purging eudev-dev (3.2.10-r0) (9/130) Purging eudev-openrc (3.2.10-r0) (10/130) Purging eudev (3.2.10-r0) (11/130) Purging udev-init-scripts-openrc (34-r0) (12/130) Purging udev-init-scripts (34-r0) (13/130) Purging eudev-libs (3.2.10-r0) (14/130) Purging json-c-dev (0.15-r1) (15/130) Purging json-c (0.15-r1) (16/130) Purging libical-dev (3.0.10-r0) (17/130) Purging libxml2-dev (2.9.12-r1) (18/130) Purging xz-dev (5.2.5-r0) (19/130) Purging gobject-introspection-dev (1.68.0-r1) (20/130) Purging cairo-dev (1.16.0-r3) (21/130) Purging cairo-tools (1.16.0-r3) (22/130) Purging xcb-util-dev (0.4.0-r3) (23/130) Purging util-macros (1.19.3-r0) (24/130) Purging xcb-util (0.4.0-r3) (25/130) Purging cairo-gobject (1.16.0-r3) (26/130) Purging cairo (1.16.0-r3) (27/130) Purging libical (3.0.10-r0) (28/130) Purging readline-dev (8.1.0-r0) (29/130) Purging libhistory (8.1.0-r0) (30/130) Purging glib-dev (2.68.2-r0) (31/130) Purging python3 (3.9.5-r1) (32/130) Purging gettext-dev (0.21-r0) (33/130) Purging gettext-asprintf (0.21-r0) (34/130) Purging gettext (0.21-r0) (35/130) Purging bzip2-dev (1.0.8-r1) (36/130) Purging docbook-xsl (1.79.2-r2) Executing docbook-xsl-1.79.2-r2.post-deinstall (37/130) Purging libxslt (1.1.34-r1) (38/130) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (39/130) Purging libxml2-utils (2.9.12-r1) (40/130) Purging autoconf (2.71-r0) (41/130) Purging m4 (1.4.18-r2) (42/130) Purging automake (1.16.3-r0) (43/130) Purging libtool (2.4.6-r7) (44/130) Purging bash (5.1.4-r0) Executing bash-5.1.4-r0.pre-deinstall (45/130) Purging libltdl (2.4.6-r7) (46/130) Purging ell-dev (0.40-r0) (47/130) Purging ell (0.40-r0) (48/130) Purging util-linux-openrc (2.37-r0) (49/130) Purging git-perl (2.32.0-r0) (50/130) Purging perl-git (2.32.0-r0) (51/130) Purging perl-error (0.17029-r1) (52/130) Purging perl (5.32.1-r0) (53/130) Purging fontconfig-dev (2.13.1-r4) (54/130) Purging fontconfig (2.13.1-r4) (55/130) Purging util-linux-dev (2.37-r0) (56/130) Purging util-linux (2.37-r0) (57/130) Purging blkid (2.37-r0) (58/130) Purging setpriv (2.37-r0) (59/130) Purging findmnt (2.37-r0) (60/130) Purging mcookie (2.37-r0) (61/130) Purging hexdump (2.37-r0) (62/130) Purging lsblk (2.37-r0) (63/130) Purging sfdisk (2.37-r0) (64/130) Purging cfdisk (2.37-r0) (65/130) Purging partx (2.37-r0) (66/130) Purging flock (2.37-r0) (67/130) Purging logger (2.37-r0) (68/130) Purging uuidgen (2.37-r0) (69/130) Purging libfdisk (2.37-r0) (70/130) Purging libsmartcols (2.37-r0) (71/130) Purging libuuid (2.37-r0) (72/130) Purging gobject-introspection (1.68.0-r1) (73/130) Purging glib (2.68.2-r0) (74/130) Purging libmount (2.37-r0) (75/130) Purging libblkid (2.37-r0) (76/130) Purging libcap-ng (0.8.2-r0) (77/130) Purging libeconf (0.3.8-r1) (78/130) Purging libusb-dev (1.0.24-r2) (79/130) Purging libusb (1.0.24-r2) (80/130) Purging kmod-libs (29-r0) (81/130) Purging libxml2 (2.9.12-r1) (82/130) Purging xz-libs (5.2.5-r0) (83/130) Purging freetype-dev (2.10.4-r1) (84/130) Purging freetype (2.10.4-r1) (85/130) Purging libbz2 (1.0.8-r1) (86/130) Purging libffi-dev (3.3-r2) (87/130) Purging linux-headers (5.10.41-r0) (88/130) Purging libffi (3.3-r2) (89/130) Purging gdbm (1.19-r0) (90/130) Purging mpdecimal (2.5.1-r1) (91/130) Purging readline (8.1.0-r0) (92/130) Purging sqlite-libs (3.35.5-r0) (93/130) Purging gettext-libs (0.21-r0) (94/130) Purging libintl (0.21-r0) (95/130) Purging libunistring (0.9.10-r1) (96/130) Purging libgcrypt (1.9.3-r0) (97/130) Purging libgpg-error (1.42-r0) (98/130) Purging pcre-dev (8.44-r0) (99/130) Purging libpcre16 (8.44-r0) (100/130) Purging libpcre32 (8.44-r0) (101/130) Purging libpcrecpp (8.44-r0) (102/130) Purging pcre (8.44-r0) (103/130) Purging libpng-dev (1.6.37-r1) (104/130) Purging libpng (1.6.37-r1) (105/130) Purging zlib-dev (1.2.11-r3) (106/130) Purging icu-dev (67.1-r2) (107/130) Purging icu (67.1-r2) (108/130) Purging icu-libs (67.1-r2) (109/130) Purging libxrender-dev (0.9.10-r3) (110/130) Purging libxrender (0.9.10-r3) (111/130) Purging libxext-dev (1.3.4-r0) (112/130) Purging libxext (1.3.4-r0) (113/130) Purging libx11-dev (1.7.2-r0) (114/130) Purging xtrans (1.4.0-r1) (115/130) Purging libx11 (1.7.2-r0) (116/130) Purging libxcb-dev (1.14-r2) (117/130) Purging xcb-proto (1.14.1-r2) (118/130) Purging libxcb (1.14-r2) (119/130) Purging libxau-dev (1.0.9-r0) (120/130) Purging libxau (1.0.9-r0) (121/130) Purging libxdmcp-dev (1.1.3-r0) (122/130) Purging libxdmcp (1.1.3-r0) (123/130) Purging libbsd (0.11.3-r0) (124/130) Purging libmd (1.0.3-r0) (125/130) Purging pixman-dev (0.40.0-r2) (126/130) Purging pixman (0.40.0-r2) (127/130) Purging expat-dev (2.4.1-r0) (128/130) Purging brotli-dev (1.0.9-r5) (129/130) Purging xorgproto (2021.4-r0) (130/130) Purging ncurses-dev (6.2_p20210612-r0) Executing busybox-1.33.1-r1.trigger OK: 312 MiB in 91 packages >>> bluez: Updating the main/x86 repository index... >>> bluez: Signing the index...