>>> bluez: Building main/bluez 5.63-r0 (using abuild 3.9.0-r0) started Tue, 18 Jan 2022 16:59:31 +0000 >>> bluez: Checking sanity of /home/buildozer/aports/main/bluez/APKBUILD... >>> bluez: Analyzing dependencies... >>> bluez: Installing for build: build-base dbus dbus-dev libusb-compat-dev eudev-dev json-c-dev libical-dev readline-dev glib-dev linux-headers autoconf automake libtool ell-dev py3-docutils (1/113) Installing dbus-libs (1.12.20-r4) (2/113) Installing dbus (1.12.20-r4) Executing dbus-1.12.20-r4.pre-install Executing dbus-1.12.20-r4.post-install (3/113) Installing libblkid (2.37.2-r7) (4/113) Installing libuuid (2.37.2-r7) (5/113) Installing libfdisk (2.37.2-r7) (6/113) Installing libmount (2.37.2-r7) (7/113) Installing libsmartcols (2.37.2-r7) (8/113) Installing util-linux-dev (2.37.2-r7) (9/113) Installing dbus-dev (1.12.20-r4) (10/113) Installing libusb (1.0.24-r3) (11/113) Installing libusb-compat (0.1.7-r1) (12/113) Installing libusb-dev (1.0.24-r3) (13/113) Installing libusb-compat-dev (0.1.7-r1) (14/113) Installing udev-init-scripts (35-r0) Executing udev-init-scripts-35-r0.post-install (15/113) Installing eudev-libs (3.2.11-r0) (16/113) Installing kmod-libs (29-r2) (17/113) Installing eudev (3.2.11-r0) (18/113) Installing eudev-dev (3.2.11-r0) (19/113) Installing json-c (0.15-r2) (20/113) Installing json-c-dev (0.15-r2) (21/113) Installing zlib-dev (1.2.11-r3) (22/113) Installing xz-dev (5.2.5-r0) (23/113) Installing libxml2 (2.9.12-r3) (24/113) Installing libxml2-dev (2.9.12-r3) (25/113) Installing libffi (3.4.2-r1) (26/113) Installing gdbm (1.22-r0) (27/113) Installing mpdecimal (2.5.1-r1) (28/113) Installing readline (8.1.1-r0) (29/113) Installing sqlite-libs (3.37.2-r0) (30/113) Installing python3 (3.10.1-r0) (31/113) Installing libxau (1.0.9-r0) (32/113) Installing libmd (1.0.3-r0) (33/113) Installing libbsd (0.11.3-r1) (34/113) Installing libxdmcp (1.1.3-r0) (35/113) Installing libxcb (1.14-r2) (36/113) Installing libx11 (1.7.3.1-r0) (37/113) Installing libxrender (0.9.10-r3) (38/113) Installing libxext (1.3.4-r0) (39/113) Installing libpng (1.6.37-r1) (40/113) Installing freetype (2.11.1-r0) (41/113) Installing fontconfig (2.13.1-r5) (42/113) Installing pixman (0.40.0-r3) (43/113) Installing cairo (1.16.0-r3) (44/113) Installing libintl (0.21-r1) (45/113) Installing pcre (8.45-r1) (46/113) Installing glib (2.70.1-r0) (47/113) Installing cairo-tools (1.16.0-r3) (48/113) Installing expat-dev (2.4.3-r0) (49/113) Installing brotli-dev (1.0.9-r6) (50/113) Installing libpng-dev (1.6.37-r1) (51/113) Installing freetype-dev (2.11.1-r0) (52/113) Installing fontconfig-dev (2.13.1-r5) (53/113) Installing xorgproto (2021.5-r0) (54/113) Installing libxau-dev (1.0.9-r0) (55/113) Installing xcb-proto (1.14.1-r3) (56/113) Installing libxdmcp-dev (1.1.3-r0) (57/113) Installing libxcb-dev (1.14-r2) (58/113) Installing xtrans (1.4.0-r1) (59/113) Installing libx11-dev (1.7.3.1-r0) (60/113) Installing libxext-dev (1.3.4-r0) (61/113) Installing libxrender-dev (0.9.10-r3) (62/113) Installing pixman-dev (0.40.0-r3) (63/113) Installing util-macros (1.19.3-r0) (64/113) Installing xcb-util (0.4.0-r3) (65/113) Installing xcb-util-dev (0.4.0-r3) (66/113) Installing cairo-gobject (1.16.0-r3) (67/113) Installing gettext-asprintf (0.21-r1) (68/113) Installing libunistring (0.9.10-r1) (69/113) Installing gettext-libs (0.21-r1) (70/113) Installing gettext (0.21-r1) (71/113) Installing gettext-dev (0.21-r1) (72/113) Installing bzip2-dev (1.0.8-r1) (73/113) Installing libxml2-utils (2.9.12-r3) (74/113) Installing libgpg-error (1.42-r1) (75/113) Installing libgcrypt (1.9.4-r0) (76/113) Installing libxslt (1.1.34-r1) (77/113) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (78/113) Installing docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-install (79/113) Installing linux-headers (5.10.41-r0) (80/113) Installing libffi-dev (3.4.2-r1) (81/113) Installing libpcre16 (8.45-r1) (82/113) Installing libpcre32 (8.45-r1) (83/113) Installing libpcrecpp (8.45-r1) (84/113) Installing pcre-dev (8.45-r1) (85/113) Installing glib-dev (2.70.1-r0) (86/113) Installing cairo-dev (1.16.0-r3) (87/113) Installing bash (5.1.16-r0) Executing bash-5.1.16-r0.post-install (88/113) Installing libltdl (2.4.6-r7) (89/113) Installing libtool (2.4.6-r7) (90/113) Installing gobject-introspection (1.70.0-r2) (91/113) Installing gobject-introspection-dev (1.70.0-r2) (92/113) Installing icu-libs (69.1-r1) (93/113) Installing libical (3.0.11-r3) (94/113) Installing icu (69.1-r1) (95/113) Installing icu-dev (69.1-r1) (96/113) Installing libical-dev (3.0.11-r3) (97/113) Installing libhistory (8.1.1-r0) (98/113) Installing ncurses-dev (6.3_p20220115-r0) (99/113) Installing readline-dev (8.1.1-r0) (100/113) Installing m4 (1.4.18-r2) (101/113) Installing perl (5.34.0-r1) (102/113) Installing autoconf (2.71-r0) (103/113) Installing automake (1.16.5-r0) (104/113) Installing ell (0.47-r0) (105/113) Installing ell-dev (0.47-r0) (106/113) Installing py3-docutils (0.16-r4) (107/113) Installing .makedepends-bluez (20220118.165932) (108/113) Installing dbus-openrc (1.12.20-r4) (109/113) Installing udev-init-scripts-openrc (35-r0) (110/113) Installing eudev-openrc (3.2.11-r0) (111/113) Installing perl-error (0.17029-r1) (112/113) Installing perl-git (2.34.1-r1) (113/113) Installing git-perl (2.34.1-r1) Executing busybox-1.35.0-r1.trigger Executing dbus-1.12.20-r4.trigger Executing eudev-3.2.11-r0.trigger Executing glib-2.70.1-r0.trigger No schema files found: doing nothing. OK: 554 MiB in 212 packages >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/edge/bluez-5.63.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> bluez: Fetching https://www.kernel.org/pub/linux/bluetooth/bluez-5.63.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 162 100 162 0 0 2474 0 --:--:-- --:--:-- --:--:-- 2492 100 2118k 100 2118k 0 0 10.7M 0 --:--:-- --:--:-- --:--:-- 10.7M >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/edge/bluez-5.63.tar.xz >>> bluez: Checking sha512sums... bluez-5.63.tar.xz: OK bluetooth.initd: OK rfcomm.initd: OK rfcomm.confd: OK org.bluez.obex.service: OK mpris-proxy.desktop: OK 001-bcm43xx-Add-bcm43xx-3wire-variant.patch: OK 002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch: OK 003-Increase-firmware-load-timeout-to-30s.patch: OK 004-Move-the-43xx-firmware-into-lib-firmware.patch: OK 005-hostname-Use-phone-class-for-handhelds.patch: OK disable-lock-test.patch: OK fix-endianness.patch: OK musl.patch: OK test-mesh-crypto.patch: OK fix-musl.patch: OK >>> bluez: Unpacking /var/cache/distfiles/edge/bluez-5.63.tar.xz... >>> bluez: 001-bcm43xx-Add-bcm43xx-3wire-variant.patch patching file tools/hciattach.c Hunk #1 succeeded at 1078 (offset -66 lines). >>> bluez: 002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch patching file tools/hciattach_bcm43xx.c Hunk #1 succeeded at 354 (offset -12 lines). Hunk #2 succeeded at 365 (offset -12 lines). >>> bluez: 003-Increase-firmware-load-timeout-to-30s.patch patching file tools/hciattach.c Hunk #1 succeeded at 1227 (offset -66 lines). >>> bluez: 004-Move-the-43xx-firmware-into-lib-firmware.patch patching file tools/hciattach_bcm43xx.c Hunk #1 succeeded at 31 (offset -12 lines). >>> bluez: 005-hostname-Use-phone-class-for-handhelds.patch patching file plugins/hostname.c >>> bluez: disable-lock-test.patch patching file unit/test-gatt.c Hunk #1 succeeded at 4475 (offset 16 lines). >>> bluez: fix-endianness.patch patching file src/shared/util.h Hunk #1 succeeded at 14 with fuzz 2 (offset -12 lines). >>> bluez: musl.patch patching file mesh/net.h Hunk #1 succeeded at 12 (offset -9 lines). >>> bluez: test-mesh-crypto.patch patching file Makefile.am Hunk #1 succeeded at 573 (offset 34 lines). >>> bluez: fix-musl.patch patching file tools/mesh-cfgtest.c autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:19: warning: The macro `AC_LANG_C' is obsolete. configure.ac:19: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.ac:19: the top level configure.ac:36: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:36: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:36: the top level configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... acinclude.m4:71: MISC_FLAGS is expanded from... configure.ac:47: the top level configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:52: the top level configure.ac:91: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:91: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:91: the top level configure.ac:104: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:104: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:104: the top level configure.ac:117: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:117: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:117: the top level configure.ac:130: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:130: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:130: the top level configure.ac:142: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:142: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:142: the top level configure.ac:156: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:156: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:156: the top level configure.ac:160: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:160: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:160: the top level configure.ac:164: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:164: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:164: the top level configure.ac:168: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:168: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:168: the top level configure.ac:172: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:172: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:172: the top level configure.ac:176: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:176: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:176: the top level configure.ac:180: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:180: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:180: the top level configure.ac:184: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:184: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:184: the top level configure.ac:188: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:188: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:188: the top level configure.ac:192: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:192: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:192: the top level configure.ac:196: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:196: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:196: the top level configure.ac:200: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:200: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:200: the top level configure.ac:204: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:204: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:204: the top level configure.ac:217: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:217: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:217: the top level configure.ac:229: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:229: the top level configure.ac:233: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:233: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:233: the top level configure.ac:244: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:244: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:244: the top level configure.ac:255: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:255: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:255: the top level configure.ac:265: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:265: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:265: the top level configure.ac:269: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:269: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:269: the top level configure.ac:284: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:284: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:284: the top level configure.ac:294: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:294: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:294: the top level configure.ac:299: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:299: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:299: the top level configure.ac:313: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:313: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:313: the top level configure.ac:326: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:326: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:326: the top level configure.ac:331: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:331: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:331: the top level configure.ac:344: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:344: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:344: the top level configure.ac:349: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:349: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:349: the top level configure.ac:354: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:354: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:354: the top level configure.ac:359: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:359: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:359: the top level configure.ac:364: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:364: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:364: the top level configure.ac:369: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:369: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:369: the top level configure.ac:373: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:373: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:373: the top level configure.ac:407: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:407: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:407: the top level configure.ac:429: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:429: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:429: the top level configure.ac:449: warning: AC_OUTPUT should be used without arguments. configure.ac:449: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:21: installing './compile' configure.ac:5: installing './missing' Makefile.am: installing './depcomp' Makefile.am:577: warning: variable 'unit_test_mesh_crypto_SOURCES' is defined but no program or Makefile.am:577: library has 'unit_test_mesh_crypto' as canonical name (possible typo) Makefile.am:579: warning: variable 'unit_test_mesh_crypto_LDADD' is defined but no program or Makefile.am:579: library has 'unit_test_mesh_crypto' as canonical name (possible typo) autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for 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 whether gcc accepts -fsanitize=address... yes checking whether gcc accepts -fsanitize=leak... yes checking whether gcc accepts -fsanitize=undefined... 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 linux/uinput.h... yes checking for linux/uhid.h... yes checking for GLIB... yes checking for DBUS... yes checking D-Bus system bus services dir... /usr/share/dbus-1/system-services checking D-Bus session bus services dir... /usr/share/dbus-1/services ${prefix}/share/zsh/site-functions checking for UDEV... yes checking for udev_hwdb_new in -ludev... yes checking udev directory... /lib/udev checking for JSONC... yes checking for ICAL... yes checking for readline/readline.h... yes checking for rst2man... rst2man checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/bluetoothd.rst config.status: creating lib/bluez.pc config.status: creating mesh/bluetooth-meshd.rst config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands GEN 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 ell/shared GEN ell/internal GEN lib/bluetooth/cmtp.h GEN lib/bluetooth/rfcomm.h GEN lib/bluetooth/bnep.h GEN lib/bluetooth/hidp.h GEN ell/ell.h GEN src/builtin.h GEN obexd/src/builtin.h make --no-print-directory all-am CC src/shared/libshared_mainloop_la-queue.lo CC src/shared/libshared_mainloop_la-util.lo CC src/shared/libshared_mainloop_la-mgmt.lo CC src/shared/libshared_mainloop_la-crypto.lo CC src/shared/libshared_mainloop_la-ecc.lo CC src/shared/libshared_mainloop_la-ringbuf.lo CC src/shared/libshared_mainloop_la-hci.lo CC src/shared/libshared_mainloop_la-hci-crypto.lo CC src/shared/libshared_mainloop_la-hfp.lo CC src/shared/libshared_mainloop_la-uhid.lo CC src/shared/libshared_mainloop_la-pcap.lo CC src/shared/libshared_mainloop_la-btsnoop.lo CC src/shared/libshared_mainloop_la-ad.lo CC src/shared/libshared_mainloop_la-att.lo CC src/shared/libshared_mainloop_la-gatt-helpers.lo CC src/shared/libshared_mainloop_la-gatt-client.lo CC src/shared/libshared_mainloop_la-gatt-server.lo CC src/shared/libshared_mainloop_la-gatt-db.lo CC src/shared/libshared_mainloop_la-gap.lo CC src/shared/libshared_mainloop_la-log.lo CC src/shared/libshared_mainloop_la-shell.lo CC src/shared/libshared_mainloop_la-io-mainloop.lo CC src/shared/libshared_mainloop_la-timeout-mainloop.lo CC src/shared/libshared_mainloop_la-mainloop.lo CC src/shared/libshared_mainloop_la-mainloop-notify.lo CC src/shared/libshared_ell_la-queue.lo CC src/shared/libshared_ell_la-util.lo CC src/shared/libshared_ell_la-mgmt.lo CC src/shared/libshared_ell_la-crypto.lo CC src/shared/libshared_ell_la-ecc.lo CC src/shared/libshared_ell_la-ringbuf.lo CC src/shared/libshared_ell_la-hci.lo CC src/shared/libshared_ell_la-hci-crypto.lo CC src/shared/libshared_ell_la-hfp.lo CC src/shared/libshared_ell_la-uhid.lo CC src/shared/libshared_ell_la-pcap.lo CC src/shared/libshared_ell_la-btsnoop.lo CC src/shared/libshared_ell_la-ad.lo CC src/shared/libshared_ell_la-att.lo CC src/shared/libshared_ell_la-gatt-helpers.lo CC src/shared/libshared_ell_la-gatt-client.lo CC src/shared/libshared_ell_la-gatt-server.lo CC src/shared/libshared_ell_la-gatt-db.lo CC src/shared/libshared_ell_la-gap.lo CC src/shared/libshared_ell_la-log.lo CC src/shared/libshared_ell_la-shell.lo CC src/shared/libshared_ell_la-io-ell.lo CC src/shared/libshared_ell_la-timeout-ell.lo CC src/shared/libshared_ell_la-mainloop-ell.lo CC tools/mesh-cfgtest.o CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_ti.o CC tools/hciattach_tialt.o CC tools/hciattach_ath3k.o CC tools/hciattach_qualcomm.o CC tools/hciattach_intel.o CC tools/hciattach_bcm43xx.o CC tools/hciconfig.o CC tools/hcitool.o CC tools/hcidump.o CC tools/rfcomm.o CC tools/sdptool.o CC src/sdp-xml.o CC tools/ciptool.o CC tools/bdaddr.o In file included from tools/hcidump.c:30: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/avinfo.o CC tools/avtest.o CC tools/scotest.o CC tools/amptest.o CC tools/hwdb.o CC tools/hcieventmask.o CC tools/hcisecfilter.o CC tools/btinfo.o CC tools/btconfig.o CC tools/btsnoop.o CC tools/btproxy.o CC tools/btiotest.o CC tools/bneptest.o CC src/log.o CC tools/mcaptest.o CC tools/cltest.o CC tools/oobtest.o CC tools/advtest.o CC tools/seq2bseq.o CC tools/nokfw.o CC tools/rtlfw.o CC tools/bcmfw.o CC tools/create-image.o CC tools/eddystone.o CC tools/ibeacon.o CC tools/btgatt-client.o CC src/uuid-helper.o CC tools/btgatt-server.o CC tools/test-runner.o CC tools/check-selftest.o CC tools/gatt-service.o CC tools/btmgmt.o CC tools/obex-client-tool.o CC tools/obex-server-tool.o CC tools/bluetooth-player.o CC tools/obexctl.o CC profiles/network/bluetoothd-manager.o CC profiles/network/bluetoothd-bnep.o CC profiles/network/bluetoothd-server.o CC profiles/network/bluetoothd-connection.o CC profiles/input/bluetoothd-suspend-none.o CC profiles/scanparam/bluetoothd-scan.o CC profiles/deviceinfo/bluetoothd-deviceinfo.o CC profiles/battery/bluetoothd-battery.o CC attrib/bluetoothd-att.o CC attrib/bluetoothd-gatt.o CC attrib/bluetoothd-gattrib.o CC attrib/bluetoothd-gatt-service.o CC btio/bluetoothd-btio.o tools/gatt-service.c: In function 'desc_write': tools/gatt-service.c:130:9: 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:9: 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, | ^~~~~~~~ CC src/bluetoothd-main.o tools/gatt-service.c: In function 'register_characteristic': tools/gatt-service.c:595:9: 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 src/bluetoothd-log.o CC src/bluetoothd-backtrace.o CC src/bluetoothd-rfkill.o CC src/bluetoothd-sdpd-server.o profiles/battery/battery.c: In function 'read_initial_battery_level_cb': profiles/battery/battery.c:162:9: 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-sdpd-request.o CC src/bluetoothd-sdpd-service.o attrib/gatt.c: In function 'gatt_discover_char': attrib/gatt.c:699:9: 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:9: 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:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1133 | dd->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/bluetoothd-sdpd-database.o CC src/bluetoothd-attrib-server.o CC src/bluetoothd-gatt-database.o CC src/bluetoothd-sdp-xml.o CC src/bluetoothd-sdp-client.o CC src/bluetoothd-textfile.o CC src/bluetoothd-uuid-helper.o CC src/bluetoothd-plugin.o CC src/bluetoothd-storage.o CC src/bluetoothd-advertising.o CC src/bluetoothd-agent.o CC src/bluetoothd-error.o CC src/bluetoothd-adapter.o CC src/bluetoothd-profile.o CC src/bluetoothd-service.o CC src/bluetoothd-gatt-client.o CC src/bluetoothd-device.o CC src/bluetoothd-dbus-common.o CC src/bluetoothd-eir.o src/attrib-server.c: In function 'attrib_db_add_new': src/attrib-server.c:342:9: 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-adv_monitor.o CC src/bluetoothd-battery.o GEN src/bluetooth.service CC btio/obexd-btio.o CC gobex/obexd-gobex.o CC gobex/obexd-gobex-defs.o CC gobex/obexd-gobex-packet.o CC gobex/obexd-gobex-header.o CC gobex/obexd-gobex-transfer.o src/eir.c: In function 'eir_parse': src/eir.c:326:25: 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:25: 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-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 gobex/gobex-packet.c: In function 'g_obex_packet_set_data': gobex/gobex-packet.c:204:17: 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_decode': gobex/gobex-header.c:225:25: 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:9: 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.o CC obexd/client/obexd-map-event.o CC obexd/client/obexd-transfer.o CC obexd/client/obexd-transport.o CC obexd/client/obexd-driver.o CC mesh/mesh.o CC mesh/net-keys.o CC mesh/mesh-io.o CC mesh/mesh-mgmt.o CC mesh/mesh-io-generic.o CC mesh/mesh-io-unit.o CC mesh/net.o CC mesh/friend.o CC mesh/appkey.o CC mesh/node.o CC mesh/model.o CC mesh/cfgmod-server.o CC mesh/mesh-config-json.o CC mesh/dbus.o CC mesh/agent.o CC mesh/prov-acceptor.o CC mesh/prov-initiator.o CC mesh/manager.o CC mesh/pb-adv.o CC mesh/keyring.o CC mesh/rpl.o CC mesh/main.o GEN mesh/bluetooth-mesh.service CC tools/hid2hci.o CC plugins/sixaxis_la-sixaxis.lo GEN src/bluetoothd.8 GEN monitor/btmon.1 GEN tools/rctest.1 GEN tools/l2ping.1 GEN tools/btattach.1 GEN tools/hciattach.1 GEN tools/hciconfig.1 GEN tools/hcitool.1 GEN tools/hcidump.1 GEN tools/rfcomm.1 GEN tools/sdptool.1 GEN tools/ciptool.1 GEN tools/hid2hci.1 GEN mesh/bluetooth-meshd.8 GEN tools/97-hid2hci.rules CC client/main.o CC client/display.o CC client/agent.o CC client/advertising.o CC client/adv_monitor.o CC client/gatt.o CC client/admin.o CC gdbus/mainloop.lo CC gdbus/watch.lo CC gdbus/object.lo CC gdbus/client.lo CC gdbus/polkit.lo CC src/shared/libshared_glib_la-queue.lo CC src/shared/libshared_glib_la-util.lo client/gatt.c: In function 'str2bytearray': CC src/shared/libshared_glib_la-mgmt.lo client/gatt.c:814:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 814 | return g_memdup(value, i); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from client/gatt.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC src/shared/libshared_glib_la-crypto.lo CC src/shared/libshared_glib_la-ecc.lo CC src/shared/libshared_glib_la-ringbuf.lo CC src/shared/libshared_glib_la-hci.lo CC src/shared/libshared_glib_la-hci-crypto.lo CC src/shared/libshared_glib_la-hfp.lo CC src/shared/libshared_glib_la-uhid.lo CC src/shared/libshared_glib_la-pcap.lo CC src/shared/libshared_glib_la-btsnoop.lo CC src/shared/libshared_glib_la-ad.lo CC src/shared/libshared_glib_la-att.lo CC src/shared/libshared_glib_la-gatt-helpers.lo CC src/shared/libshared_glib_la-gatt-client.lo CC src/shared/libshared_glib_la-gatt-server.lo CC src/shared/libshared_glib_la-gatt-db.lo CC src/shared/libshared_glib_la-gap.lo CC src/shared/libshared_glib_la-log.lo CC src/shared/libshared_glib_la-shell.lo CC src/shared/libshared_glib_la-io-glib.lo CC src/shared/libshared_glib_la-timeout-glib.lo CC src/shared/libshared_glib_la-mainloop-glib.lo CC src/shared/libshared_glib_la-mainloop-notify.lo CC src/shared/libshared_glib_la-tester.lo CC monitor/main.o CC monitor/display.o CC monitor/hcidump.o CC monitor/ellisys.o CC monitor/control.o CC monitor/packet.o CC monitor/vendor.o CC monitor/lmp.o CC monitor/crc.o CC monitor/ll.o CC monitor/l2cap.o CC monitor/sdp.o CC monitor/avctp.o CC monitor/avdtp.o monitor/packet.c: In function 'print_packet': monitor/packet.c:368:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 368 | n = sprintf(ts_str + ts_pos, " %02d:%02d:%02d.%06lu", | ~~~~^ | | | long unsigned int | %06llu 369 | tm.tm_hour, tm.tm_min, tm.tm_sec, tv->tv_usec); | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} monitor/packet.c:377:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 377 | n = sprintf(ts_str + ts_pos, " %lu.%06lu", | ~~^ | | | long unsigned int | %llu 378 | tv->tv_sec - time_offset, tv->tv_usec); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} monitor/packet.c:377:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 377 | n = sprintf(ts_str + ts_pos, " %lu.%06lu", | ~~~~^ | | | long unsigned int | %06llu 378 | tv->tv_sec - time_offset, tv->tv_usec); | ~~~~~~~~~~~ | | | suseconds_t {aka long long int} CC 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 In file included from monitor/analyze.c:27: monitor/analyze.c: In function 'conn_destroy': ./monitor/display.h:46:16: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 46 | printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ | ^~~~~~~~~~~~~ ./monitor/display.h:56:17: note: in expansion of macro 'print_indent' 56 | print_indent(8, COLOR_OFF, "", "", COLOR_OFF, fmt, ## args) | ^~~~~~~~~~~~ monitor/analyze.c:174:9: note: in expansion of macro 'print_field' 174 | print_field("%ld msec min latency", | ^~~~~~~~~~~ ./monitor/display.h:46:16: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 46 | printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ | ^~~~~~~~~~~~~ ./monitor/display.h:56:17: note: in expansion of macro 'print_indent' 56 | print_indent(8, COLOR_OFF, "", "", COLOR_OFF, fmt, ## args) | ^~~~~~~~~~~~ monitor/analyze.c:177:9: note: in expansion of macro 'print_field' 177 | print_field("%ld msec max latency", | ^~~~~~~~~~~ ./monitor/display.h:46:16: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 46 | printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ | ^~~~~~~~~~~~~ ./monitor/display.h:56:17: note: in expansion of macro 'print_indent' 56 | print_indent(8, COLOR_OFF, "", "", COLOR_OFF, fmt, ## args) | ^~~~~~~~~~~~ monitor/analyze.c:180:9: note: in expansion of macro 'print_field' 180 | print_field("%ld msec median latency", | ^~~~~~~~~~~ CC monitor/msft.o CC monitor/jlink.o CC lib/bluetooth.lo CC lib/hci.lo CC lib/sdp.lo CC lib/uuid.lo CCLD src/libshared-mainloop.la CC tools/rctest.o CC tools/l2test.o CC tools/l2ping.o CC tools/bluemoon.o CC tools/hex2hcd.o tools/rctest.c: In function 'recv_mode': tools/rctest.c:503:57: 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:61: 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/mpris-proxy.o tools/l2test.c: In function 'recv_mode': tools/l2test.c:896:57: 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:61: 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} ar: `u' modifier ignored since `D' is the default (see `U') CC tools/btattach.o CC tools/meshctl.o CC tools/mesh/agent.o CC tools/mesh-gatt/node.o CC tools/mesh-gatt/gatt.o CC tools/mesh-gatt/crypto.o CC tools/mesh-gatt/net.o CC tools/mesh-gatt/prov.o CC tools/mesh-gatt/util.o CC tools/mesh-gatt/prov-db.o CC tools/mesh-gatt/config-client.o CC tools/mesh-gatt/config-server.o CC tools/mesh-gatt/onoff-model.o CC tools/mesh-cfgclient.o CC tools/mesh/cfgcli.o tools/mesh-gatt/gatt.c: In function 'mesh_gatt_write': tools/mesh-gatt/gatt.c:341:9: 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/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 ar: `u' modifier ignored since `D' is the default (see `U') CC ell/signal.lo CC ell/time.lo CC ell/timeout.lo CC ell/io.lo CC ell/idle.lo CC ell/main.lo CC ell/settings.lo CC ell/strv.lo CC ell/string.lo CC ell/cipher.lo CC ell/checksum.lo CC ell/pem.lo CC ell/cert.lo CC ell/cert-crypto.lo CC ell/key.lo CC ell/base64.lo CC ell/utf8.lo CC ell/dbus.lo CC ell/dbus-message.lo CC ell/dbus-util.lo CC ell/dbus-service.lo CC ell/dbus-client.lo CC ell/dbus-name-cache.lo CC ell/dbus-filter.lo In file included from ell/pem.c:45: In function 'rawmemchr', inlined from 'pem_load_buffer' at ell/pem.c:227:21: ell/missing.h:76:16: warning: 'memchr' specified bound 4294967295 may exceed maximum object size 2147483647 [-Wstringop-overread] 76 | return memchr(s, c, (size_t) -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC ell/gvariant-util.lo CC ell/siphash.lo CC ell/uuid.lo CC ell/tester.lo CC ell/tls.lo CC ell/tls-extensions.lo CC ell/tls-suites.lo CC ell/tls-record.lo CC ell/ecc.lo CC ell/ecc-external.lo CC ell/ecdh.lo CC src/oui.o CC tools/parser/parser.o CC tools/parser/lmp.o CC tools/parser/hci.o CC tools/parser/l2cap.o CC tools/parser/amp.o In file included from tools/parser/parser.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/lmp.c:21: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/hci.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/l2cap.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/smp.o In file included from tools/parser/amp.c:15: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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 CC tools/parser/sdp.o CC tools/parser/rfcomm.o CC tools/parser/bnep.o In file included from tools/parser/smp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/att.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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:75: 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:44: 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:50: 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:75: 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:44: 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:50: 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/cmtp.o CC tools/parser/hidp.o In file included from tools/parser/bnep.c:25: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/cmtp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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/hidp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:127:44: 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:123:75: 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:50: 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:44: 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:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC tools/parser/hcrp.o CC tools/parser/avdtp.o CC tools/parser/avctp.o CC tools/parser/avrcp.o In file included from tools/parser/hcrp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/avdtp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC tools/parser/obex.o In file included from tools/parser/avctp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC tools/parser/capi.o In file included from tools/parser/avrcp.c:24: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/sap.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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:75: 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:44: 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:50: 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:75: 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:44: 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:50: 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 In file included from tools/parser/ppp.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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:75: 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:44: 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:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu In file included from tools/parser/tcpip.c:30: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 127 | printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec); | ~~~~^ ~~~~~~~~~~~~~ | | | | long unsigned int suseconds_t {aka long long int} | %06llu CC profiles/cups/hcrp.o In file included from tools/parser/csr.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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/bpa.c:22: tools/parser/parser.h: In function 'p_indent': tools/parser/parser.h:123:75: 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:44: 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:50: 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 CCLD tools/btinfo CCLD tools/btconfig CCLD tools/btsnoop CCLD tools/btproxy CC btio/btio.o CC profiles/network/bnep.o CC profiles/health/mcap.o CCLD tools/seq2bseq CCLD tools/nokfw CCLD tools/rtlfw CCLD tools/bcmfw CCLD tools/create-image CCLD tools/eddystone CCLD tools/ibeacon CCLD tools/test-runner CCLD tools/check-selftest CC profiles/iap/main.o CC gobex/gobex.o CC gobex/gobex-defs.o CC gobex/gobex-packet.o CC gobex/gobex-header.o CC gobex/gobex-transfer.o CC gobex/gobex-apparam.o CC attrib/gatttool.o CC attrib/att.o CC attrib/gatt.o CC attrib/gattrib.o CC attrib/interactive.o CC attrib/utils.o CC plugins/bluetoothd-hostname.o CC plugins/bluetoothd-wiimote.o CC plugins/bluetoothd-autopair.o CC plugins/bluetoothd-policy.o CC profiles/audio/bluetoothd-source.o CC profiles/audio/bluetoothd-sink.o CC profiles/audio/bluetoothd-a2dp.o gobex/gobex-header.c: In function 'g_obex_header_decode': gobex/gobex-header.c:225:25: 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:17: 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:9: 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 profiles/audio/bluetoothd-avdtp.o CC profiles/audio/bluetoothd-media.o attrib/gatt.c: In function 'gatt_discover_char': attrib/gatt.c:699:9: 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:9: 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:9: 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 plugins/policy.c: In function 'policy_init': plugins/policy.c:858:17: 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:17: 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-control.o CC profiles/audio/bluetoothd-avctp.o CC profiles/audio/bluetoothd-avrcp.o CC profiles/audio/bluetoothd-player.o CC profiles/input/bluetoothd-manager.o CC profiles/input/bluetoothd-server.o CC profiles/input/bluetoothd-device.o CC profiles/input/bluetoothd-hog.o CC profiles/input/bluetoothd-hog-lib.o CC profiles/deviceinfo/bluetoothd-dis.o CC profiles/battery/bluetoothd-bas.o CC profiles/scanparam/bluetoothd-scpp.o CC profiles/gap/bluetoothd-gas.o CC obexd/plugins/obexd-filesystem.o CC obexd/plugins/obexd-bluetooth.o CC obexd/plugins/obexd-opp.o profiles/audio/avctp.c: In function 'avctp_send_req': profiles/audio/avctp.c:1730:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1730 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avctp.c: In function 'avctp_send_browsing_req': profiles/audio/avctp.c:1768:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1768 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/plugins/obexd-ftp.o profiles/audio/avrcp.c: In function 'avrcp_handle_get_current_player_value': profiles/audio/avrcp.c:1301:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1301 | settings = g_memdup(&pdu->params[1], pdu->params[0]); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_set_browsed_player_rsp': profiles/audio/avrcp.c:2804:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2804 | folders[count] = g_memdup(&pdu->params[i], len); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_player_parse_features': profiles/audio/avrcp.c:2891:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2891 | player->features = g_memdup(features, 16); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'report_read_cb': profiles/input/hog-lib.c:532:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 532 | report->value = g_memdup(pdu, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_hog': profiles/input/hog-lib.c:1612:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1612 | hog->primary = g_memdup(primary, sizeof(*primary)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:1626:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1626 | instance->primary = g_memdup(primary, sizeof(*primary)); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': profiles/deviceinfo/dis.c:146:17: 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/battery/bas.c: In function 'bt_bas_new': profiles/battery/bas.c:78:17: 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/scanparam/scpp.c: In function 'bt_scpp_new': profiles/scanparam/scpp.c:113:17: 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-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:9: 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 tools/bluemoon CCLD tools/hex2hcd CCLD tools/btattach CCLD ell/libell-internal.la ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/mpris-proxy CCLD tools/gatt-service CCLD profiles/iap/iapd ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/rctest CCLD tools/l2test CCLD tools/l2ping CCLD tools/hciattach CCLD tools/hciconfig CCLD tools/hcitool CCLD tools/hcidump CCLD tools/rfcomm CCLD tools/sdptool CCLD tools/ciptool CCLD profiles/cups/bluetooth CCLD tools/bdaddr CCLD tools/avinfo CCLD tools/avtest CCLD tools/scotest ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/amptest CCLD tools/hwdb CCLD tools/hcieventmask CCLD tools/btiotest CCLD tools/bneptest CCLD tools/cltest CCLD tools/oobtest CCLD tools/advtest CCLD tools/btgatt-client CCLD tools/btgatt-server CCLD tools/btmgmt CCLD tools/obex-client-tool CCLD tools/obex-server-tool CCLD tools/bluetooth-player CCLD tools/obexctl CCLD attrib/gatttool CCLD client/bluetoothctl CCLD tools/meshctl ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/mesh-cfgclient CCLD tools/mesh-cfgtest CCLD mesh/bluetooth-meshd CCLD tools/mcaptest CCLD obexd/src/obexd CCLD src/bluetoothd CCLD monitor/btmon make --no-print-directory check-am make --no-print-directory check-TESTS CC src/eir.o CC src/textfile.o CC src/sdpd-database.o CC src/sdpd-service.o CC src/sdpd-request.o CC unit/test-avdtp.o CC unit/test-avctp.o CC unit/test-avrcp.o CC unit/test-hfp.o CC unit/test-gdbus-client.o CC unit/util.o CC unit/test-gobex-header.o CC unit/test-gobex-packet.o CC unit/test-gobex.o CC unit/test-gobex-transfer.o CC unit/test-gobex-apparam.o CC unit/test-lib.o CC unit/test-gatt.o CC unit/test-hog.o CC profiles/input/hog-lib.o CC profiles/scanparam/scpp.o CC profiles/battery/bas.o CC profiles/deviceinfo/dis.o CC unit/test-gattrib.o unit/test-avctp.c: In function 'main': unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:272:9: note: in expansion of macro 'define_test' 272 | define_test("/TP/CCM/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:272:9: note: in expansion of macro 'define_test' 272 | define_test("/TP/CCM/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:273:9: 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:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:273:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:274:9: 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-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:274:9: 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-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:275:9: note: in expansion of macro 'define_test' 275 | define_test("/TP/CCM/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:275:9: note: in expansion of macro 'define_test' 275 | define_test("/TP/CCM/BV-04-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:279:9: 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-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:279:9: 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-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:282:9: 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-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:282:9: 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-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:282:9: 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-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:286:9: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:286:9: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:286:9: note: in expansion of macro 'define_test' 286 | define_test("/TP/NFR/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:290:9: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:290:9: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:290:9: note: in expansion of macro 'define_test' 290 | define_test("/TP/NFR/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:294:9: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:62:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avctp.c:294:9: note: in expansion of macro 'define_test' 294 | define_test("/TP/NFR/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c:65:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avctp.c:294:9: 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, | ^~~~~~~~ CC unit/test-eir.o CC unit/test-uuid.o CC unit/test-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 profiles/scanparam/scpp.c: In function 'bt_scpp_new': profiles/scanparam/scpp.c:113:17: 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, | ^~~~~~~~ src/eir.c: In function 'eir_parse': src/eir.c:326:25: 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:25: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 332 | eir->randomizer = g_memdup(data, 16); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c: In function 'main': unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:686:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:687:9: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:687:9: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:687:9: note: in expansion of macro 'define_test' 687 | define_test("/hfp/test_cmd_handler_1", test_command_handler, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:691:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:691:9: 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-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:691:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:695:9: 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: In function 'main': unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:695:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:778:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:695:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:778:9: 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-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:695:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:780:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:780:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:780:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:700:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:783:9: 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-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:700:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:783:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:9: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:785:9: 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-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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:785:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:9: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:785:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:705:9: note: in expansion of macro 'define_test' 705 | define_test("/hfp/test_register_3", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:705:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:9: 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, | ^~~~~~~~ profiles/battery/bas.c: In function 'bt_bas_new': profiles/battery/bas.c:78:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 78 | bas->primary = g_memdup(primary, sizeof(*bas->primary)); | ^~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:710:9: 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, | ^~~~~~~~ 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:788:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:710:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:788:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:710:9: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:710:9: note: in expansion of macro 'define_test' 710 | define_test("/hfp/test_register_4", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:9: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:9: 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-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:9: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:792:9: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:716:9: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:716:9: note: in expansion of macro 'define_test' 716 | define_test("/hfp/test_register_5", test_register, prefix_handler, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:792:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: 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-hog.c: In function 'main': unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:721:9: note: in expansion of macro 'define_test' 721 | define_test("/hfp/test_fragmented_1", test_fragmented, NULL, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:798:9: 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-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:721:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:798:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:725:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:725:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:725:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:9: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ unit/test-avrcp.c: In function 'main': In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:725:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:9: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:998:9: 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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ 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-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, | ^~~~~~~~ profiles/deviceinfo/dis.c:146:17: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:998:9: note: in expansion of macro 'define_test' 998 | define_test("/TP/MPS/BV-01-C", test_client, | ^~~~~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:9: 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-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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:730:9: note: in expansion of macro 'define_test' 730 | define_test("/hfp/test_ustring_2", test_register, check_ustring_2, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:9: 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-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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1004:9: 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-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-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:730:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:807:9: note: in expansion of macro 'define_test' 807 | define_test("/TP/SIG/SMG/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1004:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:807:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:735:9: 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-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-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1004:9: note: in expansion of macro 'define_test' 1004 | define_test("/TP/MPS/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:735:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:735:9: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1014:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:735:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1014:9: 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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1019:9: note: in expansion of macro 'define_test' 1019 | define_test("/TP/MPS/BV-04-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:9: 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-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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1019:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:741:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:741:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1019:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:816:9: 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-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:9: 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-hog.c:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:218:9: note: in expansion of macro 'define_test' 218 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:816:9: note: in expansion of macro 'define_test' 816 | define_test("/TP/SIG/SMG/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:747:9: note: in expansion of macro 'define_test' 747 | define_test("/hfp/test_corrupted_1", test_register, check_string_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:747:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:80:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 80 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:753:9: note: in expansion of macro 'define_test' 753 | define_test("/hfp/test_empty", test_send_and_close, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/MPS/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:83:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 83 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:753:9: note: in expansion of macro 'define_test' 753 | define_test("/hfp/test_empty", test_send_and_close, NULL, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:756:9: 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-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1029:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:758:9: note: in expansion of macro 'define_hf_test' 758 | define_hf_test("/hfp_hf/test_send_command_1", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1044:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:758:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1044:9: note: in expansion of macro 'define_test' 1044 | define_test("/TP/MPS/BV-06-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:758:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1044:9: note: in expansion of macro 'define_test' 1044 | define_test("/TP/MPS/BV-06-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: note: in expansion of macro 'define_test' 826 | define_test("/TP/SIG/SMG/BV-12-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:826:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:826:9: 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-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:764:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1054:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:764:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1054:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:9: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1067:9: note: in expansion of macro 'define_test' 1067 | define_test("/TP/MPS/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:9: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1067:9: note: in expansion of macro 'define_test' 1067 | define_test("/TP/MPS/BV-08-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:774:9: 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-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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1075:9: note: in expansion of macro 'define_test' 1075 | define_test("/TP/MPS/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:774:9: 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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1075:9: note: in expansion of macro 'define_test' 1075 | define_test("/TP/MPS/BV-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:9: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:838:9: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1075:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:9: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:838:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1085:9: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:782:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:782:9: note: in expansion of macro 'define_hf_test' 782 | define_hf_test("/hfp_hf/test_unsolicited_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1085:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1085:9: note: in expansion of macro 'define_test' 1085 | define_test("/TP/MPS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:9: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1095:9: 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-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:263:9: note: in expansion of macro 'define_test' 263 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:789:9: note: in expansion of macro 'define_hf_test' 789 | define_hf_test("/hfp_hf/test_unsolicited_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1095:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: 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-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:789:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1095:9: note: in expansion of macro 'define_test' 1095 | define_test("/TP/MPS/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1107:9: 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, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'report_read_cb': unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ profiles/input/hog-lib.c:532:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 532 | report->value = g_memdup(pdu, len); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1107:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:848:9: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:848:9: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/MCN/CB/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/MCN/CB/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: note: in expansion of macro 'define_hf_test' 796 | define_hf_test("/hfp_hf/test_unsolicited_3", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1115:9: 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-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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:296:9: note: in expansion of macro 'define_test' 296 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:859:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:859:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:796:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:9: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:796:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:9: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:9: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:9: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:9: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:806:9: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:806:9: note: in expansion of macro 'define_hf_test' 806 | define_hf_test("/hfp_hf/test_corrupted_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:9: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:814:9: note: in expansion of macro 'define_hf_test' 814 | define_hf_test("/hfp_hf/test_corrupted_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1125:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:814:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1125:9: note: in expansion of macro 'define_test' 1125 | define_test("/TP/MCN/CB/BV-03-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:814:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-uhid.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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:820:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1149:9: note: in expansion of macro 'define_test' 1149 | define_test("/TP/MCN/CB/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:820:9: 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-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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:871:9: note: in expansion of macro 'define_test' 871 | define_test("/TP/SIG/SMG/BV-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1149:9: note: in expansion of macro 'define_test' 1149 | define_test("/TP/MCN/CB/BV-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:823:9: note: in expansion of macro 'define_hf_test' 823 | define_hf_test("/hfp_hf/test_unknown", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:823:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1158:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1158:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: 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-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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1158:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: note: in expansion of macro 'define_hf_test' 827 | define_hf_test("/hfp_hf/test_context_parser_1", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: 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-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1169:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1169:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: 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-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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1169:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:827:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1180:9: 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-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:827:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:317:9: note: in expansion of macro 'define_test' 317 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1180:9: 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-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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:838:9: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:884:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:838:9: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1189:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:838:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1189:9: 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-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:838:9: note: in expansion of macro 'define_hf_test' 838 | define_hf_test("/hfp_hf/test_context_parser_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1189:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:9: 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-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:9: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1200:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ unit/test-hfp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hfp.c:845:9: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1200:9: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hfp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hfp.c:845:9: note: in expansion of macro 'define_hf_test' 845 | define_hf_test("/hfp_hf/test_context_skip_field", test_hf_unsolicited, | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1200:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1211:9: note: in expansion of macro 'define_test' 1211 | define_test("/TP/MCN/CB/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_hog': unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1211:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:1612:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1612 | hog->primary = g_memdup(primary, sizeof(*primary)); | ^~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: 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 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1211:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/input/hog-lib.c:1626:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1626 | instance->primary = g_memdup(primary, sizeof(*primary)); | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: 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 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:898:9: note: in expansion of macro 'define_test' 898 | define_test("/TP/SIG/SMG/BV-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:9: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:898:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:9: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1222:9: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1222:9: note: in expansion of macro 'define_test' 1222 | define_test("/TP/MCN/CB/BV-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1237:9: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1237:9: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1237:9: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1247:9: note: in expansion of macro 'define_test' 1247 | define_test("/TP/MCN/CB/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1247:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1247:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:913:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:913:9: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1257:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1257:9: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1257:9: note: in expansion of macro 'define_test' 1257 | define_test("/TP/MCN/CB/BI-03-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1267:9: 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:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:350:9: note: in expansion of macro 'define_test' 350 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1267:9: 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:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1267:9: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:9: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:9: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:927:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1278:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1278:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: In function 'test_server': unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1303:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1303:9: note: in expansion of macro 'define_test' 1303 | define_test("/TP/MCN/SRC/BV-01-C", test_client, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:1920:22: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1920 | const struct test_pdu pdu = SERVER_MTU_EXCHANGE_PDU; | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1309:9: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1309:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:942:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:942:9: note: in expansion of macro 'define_test' 942 | define_test("/TP/SIG/SMG/BV-23-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1309:9: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1320:9: note: in expansion of macro 'define_test' 1320 | define_test("/TP/MCN/SRC/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1320:9: note: in expansion of macro 'define_test' 1320 | define_test("/TP/MCN/SRC/BV-03-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1328:9: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1328:9: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: 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-hog.c:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1328:9: note: in expansion of macro 'define_test' 1328 | define_test("/TP/MCN/SCR/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-hog.c:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:393:9: note: in expansion of macro 'define_test' 393 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: 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-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1338:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:952:9: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:952:9: note: in expansion of macro 'define_test' 952 | define_test("/TP/SIG/SMG/BV-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1338:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:9: 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:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1347:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:963:9: 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:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1347:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:963:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1347:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1360:9: note: in expansion of macro 'define_test' 1360 | define_test("/TP/MCN/NP/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:9: note: in expansion of macro 'define_test' 967 | define_test("/TP/SIG/SMG/BV-26-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1360:9: note: in expansion of macro 'define_test' 1360 | define_test("/TP/MCN/NP/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:967:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1367:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:967:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1367:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:9: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:9: note: in expansion of macro 'define_test' 973 | define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1367:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:9: 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-gatt.c: In function 'main': unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1376:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:973:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2368:9: note: in expansion of macro 'define_test_client' 2368 | define_test_client("/TP/GAC/CL/BV-01-C", test_client, NULL, NULL, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:973:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1376:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2368:9: note: in expansion of macro 'define_test_client' 2368 | define_test_client("/TP/GAC/CL/BV-01-C", test_client, NULL, NULL, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1384:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2371:9: note: in expansion of macro 'define_test_server' 2371 | define_test_server("/TP/GAC/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:9: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2371:9: note: in expansion of macro 'define_test_server' 2371 | define_test_server("/TP/GAC/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1384:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1384:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:979:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1394:9: note: in expansion of macro 'define_test' 1394 | define_test("/TP/MCN/NP/BV-05-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:979:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1394:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:9: 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-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1402:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1402:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:987:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1402:9: 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-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:987:9: note: in expansion of macro 'define_test' 987 | define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:997:9: note: in expansion of macro 'define_test' 997 | define_test("/TP/SIG/SMG/BI-01-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1412:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:997:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1412:9: note: in expansion of macro 'define_test' 1412 | define_test("/TP/MCN/NP/BV-07-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:997:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1000:9: 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:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1412:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2381:9: note: in expansion of macro 'define_test_att' 2381 | define_test_att("/TP/GAD/CL/BV-01-C", test_search_primary, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1000:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1412:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1002:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1002:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:9: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1425:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1002:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:9: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1425:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:9: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:9: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:9: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:9: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1434:9: note: in expansion of macro 'define_test' 1434 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1005:9: note: in expansion of macro 'define_test' 1005 | define_test("/TP/SIG/SMG/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2395:9: note: in expansion of macro 'define_test_att' 2395 | define_test_att("/TP/GAD/CL/BV-01-C-small", test_search_primary, NULL, | ^~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1434:9: 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-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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1005:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1434:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:9: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:9: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1445:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:9: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1010:9: note: in expansion of macro 'define_test' 1010 | define_test("/TP/SIG/SMG/BI-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1445:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1010:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:9: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1445:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:9: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:9: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:9: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1455:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:9: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1015:9: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1455:9: note: in expansion of macro 'define_test' 1455 | define_test("/TP/MCN/NP/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2400:9: note: in expansion of macro 'define_test_server' 2400 | define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1015:9: note: in expansion of macro 'define_test' 1015 | define_test("/TP/SIG/SMG/BI-06-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1455:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:9: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1467:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:9: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:9: 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-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1467:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:9: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1481:9: note: in expansion of macro 'define_test' 1481 | define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:9: note: in expansion of macro 'define_test' 1020 | define_test("/TP/SIG/SMG/BI-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2409:9: note: in expansion of macro 'define_test_server' 2409 | define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1481:9: note: in expansion of macro 'define_test' 1481 | define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1020:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1020:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1482:9: note: in expansion of macro 'define_test' 1482 | define_test("/TP/CON/BV-02-C", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1482:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1483:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1483:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1484:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1484:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: note: in expansion of macro 'define_test' 1029 | define_test("/TP/SIG/SMG/BI-08-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1485:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1029:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1485:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1029:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1494:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1494:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1495:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:9: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1495:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:9: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1496:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1041:9: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1496:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1041:9: note: in expansion of macro 'define_test' 1041 | define_test("/TP/SIG/SMG/BI-09-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1497:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1497:9: note: in expansion of macro 'define_test' 1497 | define_test("/TP/CRC/BV-02-I", test_dummy, raw_pdu(0x00)); | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC unit/test-sdp.o unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1501:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1501:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1501:9: note: in expansion of macro 'define_test' 1501 | define_test("/TP/ICC/BV-01-I", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: note: in expansion of macro 'define_test' 1050 | define_test("/TP/SIG/SMG/BI-10-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1050:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1507:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1050:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1507:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1507:9: 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, | ^~~~~~~~ CC android/avdtp.o unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1513:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1513:9: note: in expansion of macro 'define_test' 1513 | define_test("/TP/PTT/BV-01-I", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: 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-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1513:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2419:9: note: in expansion of macro 'define_test_att' 2419 | define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1519:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1061:9: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:9: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1519:9: 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-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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1061:9: note: in expansion of macro 'define_test' 1061 | define_test("/TP/SIG/SMG/BI-11-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:9: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1519:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:9: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1525:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:9: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:9: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1525:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2429:9: note: in expansion of macro 'define_test_att' 2429 | define_test_att("/TP/GAD/CL/BV-02-C-1-alternative", | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1525:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:9: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1072:9: note: in expansion of macro 'define_test' 1072 | define_test("/TP/SIG/SMG/BI-17-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1531:9: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1072:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1531:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1531:9: note: in expansion of macro 'define_test' 1531 | define_test("/TP/PTT/BV-04-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:9: 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:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:9: 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:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:9: 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:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2437:9: note: in expansion of macro 'define_test_att' 2437 | define_test_att("/TP/GAD/CL/BV-02-C-2", test_search_primary, &uuid_128, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1080:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1537:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1080:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1537:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:9: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1549:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:9: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1549:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:9: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:9: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1554:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:9: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1554:9: note: in expansion of macro 'define_test' 1554 | define_test("/TP/CFG/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2451:9: note: in expansion of macro 'define_test_server' 2451 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1554:9: note: in expansion of macro 'define_test' 1554 | define_test("/TP/CFG/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1091:9: note: in expansion of macro 'define_test' 1091 | define_test("/TP/SIG/SMG/BI-19-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1562:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:9: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1091:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1562:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:9: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:9: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1562:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:9: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1573:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:9: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1573:9: note: in expansion of macro 'define_test' 1573 | define_test("/TP/PAS/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2461:9: note: in expansion of macro 'define_test_server' 2461 | define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1578:9: note: in expansion of macro 'define_test' 1578 | define_test("/TP/PAS/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1578:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:9: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1104:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1104:9: note: in expansion of macro 'define_test' 1104 | define_test("/TP/SIG/SMG/BI-20-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:9: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1578:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:9: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1586:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2473:9: note: in expansion of macro 'define_test_server' 2473 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1586:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:9: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1594:9: note: in expansion of macro 'define_test' 1594 | define_test("/TP/PAS/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:9: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1594:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:9: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1594:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2480:9: note: in expansion of macro 'define_test_server' 2480 | define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1606:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1115:9: 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, | ^~~~~~~~ CC android/avctp.o unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:9: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1606:9: 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-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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:9: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1613:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:9: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1613:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:9: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1613:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:9: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1623:9: note: in expansion of macro 'define_test' 1623 | define_test("/TP/PAS/BV-07-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2487:9: note: in expansion of macro 'define_test_server' 2487 | define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1623:9: note: in expansion of macro 'define_test' 1623 | define_test("/TP/PAS/BV-07-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:9: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1632:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:9: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1632:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1128:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1128:9: note: in expansion of macro 'define_test' 1128 | define_test("/TP/SIG/SMG/BI-22-C", test_client, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:9: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1632:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2500:9: note: in expansion of macro 'define_test_server' 2500 | define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1644:9: note: in expansion of macro 'define_test' 1644 | define_test("/TP/PAS/BV-09-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1644:9: note: in expansion of macro 'define_test' 1644 | define_test("/TP/PAS/BV-09-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1652:9: note: in expansion of macro 'define_test' 1652 | define_test("/TP/PAS/BV-10-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1652:9: note: in expansion of macro 'define_test' 1652 | define_test("/TP/PAS/BV-10-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1652:9: note: in expansion of macro 'define_test' 1652 | define_test("/TP/PAS/BV-10-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1666:9: note: in expansion of macro 'define_test' 1666 | define_test("/TP/PAS/BV-11-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1141:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1666:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1141:9: note: in expansion of macro 'define_test' 1141 | define_test("/TP/SIG/SMG/BI-23-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1675:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1675:9: note: in expansion of macro 'define_test' 1675 | define_test("/TP/PAS/BI-01-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1675:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1688:9: note: in expansion of macro 'define_test' 1688 | define_test("/TP/PAS/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1688:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1688:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1154:9: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1701:9: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2508:9: note: in expansion of macro 'define_test_att' 2508 | define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL, | ^~~~~~~~~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1154:9: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1701:9: note: in expansion of macro 'define_test' 1701 | define_test("/TP/PAS/BI-03-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:9: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1701:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:9: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1715:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:9: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1715:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:9: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:9: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1715:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2531:9: note: in expansion of macro 'define_test_server' 2531 | define_test_server("/TP/GAD/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC android/avrcp-lib.o unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1728:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1728:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: note: in expansion of macro 'define_test' 1167 | define_test("/TP/SIG/SMG/BI-25-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1728:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1167:9: 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-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, | ^~~~~~~~ CCLD unit/test-gobex-packet unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1167:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1742:9: note: in expansion of macro 'define_test' 1742 | define_test("/TP/MDI/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1742:9: note: in expansion of macro 'define_test' 1742 | define_test("/TP/MDI/BV-01-C", test_client, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1748:9: note: in expansion of macro 'define_test' 1748 | define_test("/TP/MDI/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1748:9: 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:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1748:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2540:9: note: in expansion of macro 'define_test_server' 2540 | define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1760:9: note: in expansion of macro 'define_test' 1760 | define_test("/TP/MDI/BV-03-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1760:9: note: in expansion of macro 'define_test' 1760 | define_test("/TP/MDI/BV-03-C", test_client, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1182:9: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1767:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1182:9: note: in expansion of macro 'define_test' 1182 | define_test("/TP/SIG/SMG/BI-26-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1767:9: note: in expansion of macro 'define_test' 1767 | define_test("/TP/MDI/BV-04-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1767:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1777:9: note: in expansion of macro 'define_test' 1777 | define_test("/TP/MDI/BV-05-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1777:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1777:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2553:9: note: in expansion of macro 'define_test_att' 2553 | define_test_att("/TP/GAD/CL/BV-04-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1790:9: note: in expansion of macro 'define_test' 1790 | define_test("/TP/NFY/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1790:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1195:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:9: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1195:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1210:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1210:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1210:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1797:9: note: in expansion of macro 'define_test' 1797 | define_test("/TP/NFY/BV-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1797:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:9: note: in expansion of macro 'define_test' 1213 | define_test("/TP/SIG/SMG/BI-30-C", test_client, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1814:9: note: in expansion of macro 'define_test' 1814 | define_test("/TP/NFY/BV-03-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1213:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1814:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2567:9: note: in expansion of macro 'define_test_server' 2567 | define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1213:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1814:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1221:9: note: in expansion of macro 'define_test' 1221 | define_test("/TP/SIG/SMG/ESR04/BI-28-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1221:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:9: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1814:9: 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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1221:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:9: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1832:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:9: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1832:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:9: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1224:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:9: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1832:9: 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-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1224:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2584:9: note: in expansion of macro 'define_test_server' 2584 | define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1844:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1844:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-crc unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1229:9: note: in expansion of macro 'define_test' 1229 | define_test("/TP/SIG/SMG/BI-33-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1229:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1844:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1856:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1856:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1856:9: note: in expansion of macro 'define_test' 1856 | define_test("/TP/NFY/BV-08-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1234:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1234:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1868:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2594:9: note: in expansion of macro 'define_test_server' 2594 | define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1868:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:9: note: in expansion of macro 'define_test' 1244 | define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1868:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1883:9: note: in expansion of macro 'define_test' 1883 | define_test("/TP/INV/BI-01-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1244:9: 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-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1244:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1883:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1883:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:9: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:9: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1895:9: note: in expansion of macro 'define_test' 1895 | define_test("/TP/INV/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1895:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1895:9: note: in expansion of macro 'define_test' 1895 | define_test("/TP/INV/BI-02-C", test_server, | ^~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2607:9: note: in expansion of macro 'define_test_att' 2607 | define_test_att("/TP/GAD/CL/BV-05-C", test_search_chars, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1901:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1259:9: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1259:9: note: in expansion of macro 'define_test' 1259 | define_test("/TP/SIG/FRA/BV-01-C", test_server_frg, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1901:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1908:9: note: in expansion of macro 'define_test' 1908 | define_test("/TP/BGN/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1908:9: note: in expansion of macro 'define_test' 1908 | define_test("/TP/BGN/BV-01-I", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:9: note: in expansion of macro 'define_test' 1280 | define_test("/TP/SIG/FRA/BV-02-C", test_client_frg, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1908:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1919:9: note: in expansion of macro 'define_test' 1919 | define_test("/TP/BGN/BV-02-I", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1919:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1280:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1280:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1926:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:9: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1926:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2621:9: note: in expansion of macro 'define_test_server' 2621 | define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:9: note: in expansion of macro 'define_test' 1308 | define_test("/TP/SIG/SYN/BV-01-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1926:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1308:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:9: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1939:9: 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-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1308:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:9: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1939:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:9: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1945:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:9: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:9: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1945:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:9: note: in expansion of macro 'define_test' 1314 | define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1314:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2638:9: note: in expansion of macro 'define_test_server' 2638 | define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1945:9: 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-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1314:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1954:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1954:9: note: in expansion of macro 'define_test' 1954 | define_test("/TP/VLH/BV-03-C", test_client, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1954:9: note: in expansion of macro 'define_test' 1954 | define_test("/TP/VLH/BV-03-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1965:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: note: in expansion of macro 'define_test' 1323 | define_test("/TP/SIG/SYN/BV-03-C", test_server_1_3_sink, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1323:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1965:9: 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-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:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1323:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1965:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2648:9: note: in expansion of macro 'define_test_server' 2648 | define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1965:9: note: in expansion of macro 'define_test' 1965 | define_test("/TP/VLH/BV-04-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1980:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1980:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1980:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1334:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1989:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1334:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1989:9: note: in expansion of macro 'define_test' 1989 | define_test("/TP/VLH/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2661:9: note: in expansion of macro 'define_test_att' 2661 | define_test_att("/TP/GAD/CL/BV-06-C", test_search_descs, NULL, NULL, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1989:9: note: in expansion of macro 'define_test' 1989 | define_test("/TP/VLH/BI-02-C", test_server, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1998:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:1998:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: 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:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:1998:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2007:9: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1345:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2007:9: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1345:9: note: in expansion of macro 'define_test' 1345 | define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2007:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2007:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:9: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2024:9: note: in expansion of macro 'define_test' 2024 | define_test("/TP/PTH/BV-01-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2024:9: 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-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:9: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:9: note: in expansion of macro 'define_test' 2032 | define_test("/TP/PTH/BV-02-C", test_client, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:65:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 65 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avdtp.c:1359:9: note: in expansion of macro 'define_test' 1359 | define_test("/TP/SIG/SYN/BV-06-C", test_server_1_3, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c:68:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 68 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avdtp.c:1359:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2032:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2032:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2046:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2670:9: note: in expansion of macro 'define_test_client' 2670 | define_test_client("/TP/GAD/CL/BV-06-C/client-1", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2046:9: 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, | ^~~~~~~~ PASS: unit/test-gobex-packet unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:9: 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-uhid.c: In function 'main': unit/test-uhid.c:62:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:276:9: note: in expansion of macro 'define_test' 276 | define_test("/uhid/command/create", test_client, event(&ev_create)); | ^~~~~~~~~~~ CCLD unit/test-crypto 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, | ^~~~~~~~ CCLD unit/test-gobex-apparam unit/test-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:9: 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-uhid.c:62:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:277:9: note: in expansion of macro 'define_test' 277 | define_test("/uhid/command/destroy", test_client, event(&ev_destroy)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:278:9: 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-avrcp.c:94:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-avrcp.c:2068:9: 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-uhid.c:62:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:280:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-uhid.c:62:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:282:9: note: in expansion of macro 'define_test' 282 | define_test("/uhid/event/output", test_server, event(&ev_output)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.c:97:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 97 | static struct test_data data; \ | ^~~~~~~~~ unit/test-avrcp.c:2068:9: 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-uhid.c:62:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 62 | static struct test_data data; \ | ^~~~~~~~~ unit/test-uhid.c:283:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-ecc unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-ringbuf unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-uuid unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2678:9: note: in expansion of macro 'define_test_client' 2678 | define_test_client("/TP/GAD/CL/BV-06-C/client-3", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:9: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:9: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:9: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2682:9: note: in expansion of macro 'define_test_server' 2682 | define_test_server("/TP/GAD/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:9: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:9: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:9: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:9: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:9: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2689:9: note: in expansion of macro 'define_test_server' 2689 | define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-header unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-eir unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2700:9: note: in expansion of macro 'define_test_client' 2700 | define_test_client("/TP/GAR/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex-apparam unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-queue unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2706:9: note: in expansion of macro 'define_test_client' 2706 | define_test_client("/TP/GAR/CL/BI-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-crc PASS: unit/test-crypto unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: In function 'main': unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-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:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-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:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-uuid unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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, | ^~~~~~~~ android/avrcp-lib.c: In function 'parse_folder_list': unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avrcp-lib.c:2623:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2623 | folders[count] = g_memdup(¶ms[i], len); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from android/avrcp-lib.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2712:9: note: in expansion of macro 'define_test_client' 2712 | define_test_client("/TP/GAR/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:30: 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:9: 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:30: 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:9: 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:30: 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:9: 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:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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, | ^~~~~~~~ android/avctp.c: In function 'avctp_send_req': unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avctp.c:1180:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1180 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from android/avctp.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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, | ^~~~~~~~ android/avctp.c: In function 'avctp_send_browsing_req': unit/test-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ android/avctp.c:1221:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1221 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from 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 android/avctp.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ss' 853 | define_ss("BV-04-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-sdp.c:64:30: 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:9: 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-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ss' 865 | define_ss("BI-01-C/UUID-16", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:64:30: 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:9: note: in expansion of macro 'define_ss' 873 | define_ss("BI-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ss' 873 | define_ss("BI-01-C/UUID-128", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:64:30: 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:9: 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-sdp.c:64:30: 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:9: note: in expansion of macro 'define_ss' 890 | define_ss("BI-02-C/UUID-32", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ss' 890 | define_ss("BI-02-C/UUID-32", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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-sdp.c:64:30: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-textfile CCLD unit/test-mgmt unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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, | ^~~~~~~~ CCLD unit/test-lib unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 955 | define_sa("BV-04-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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, | ^~~~~~~~ PASS: unit/test-gobex-header unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2718:9: note: in expansion of macro 'define_test_client' 2718 | define_test_client("/TP/GAR/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 974 | define_sa("BV-05-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1015 | define_sa("BV-07-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1035 | define_sa("BV-08-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1055 | define_sa("BV-09-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1075 | define_sa("BV-10-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1094 | define_sa("BV-11-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1116 | define_sa("BV-12-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1143 | define_sa("BV-13-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-uhid unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1169 | define_sa("BV-14-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2724:9: note: in expansion of macro 'define_test_client' 2724 | define_test_client("/TP/GAR/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1195 | define_sa("BV-15-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1215 | define_sa("BV-16-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1235 | define_sa("BV-17-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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, | ^~~~~~~~ PASS: unit/test-eir unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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-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:67:31: 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:9: note: in expansion of macro 'define_sa' 1255 | define_sa("BV-18-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1277 | define_sa("BV-19-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1299 | define_sa("BV-20-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1318 | define_sa("BV-21-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1339 | define_sa("BI-01-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_sa' 1351 | define_sa("BI-02-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:74:34: note: 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:9: note: in expansion of macro 'define_sa' 1368 | define_sa("BI-03-C", | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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, | ^~~~~~~~ CCLD unit/test-gdbus-client unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1393 | define_ssa("BV-01-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2730:9: note: in expansion of macro 'define_test_client' 2730 | define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1420 | define_ssa("BV-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1426 | define_ssa("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1426 | define_ssa("BV-02-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1441 | define_ssa("BV-03-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1441 | define_ssa("BV-03-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1447 | define_ssa("BV-03-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1453 | define_ssa("BV-03-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1453 | define_ssa("BV-03-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1475 | define_ssa("BV-04-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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, | ^~~~~~~~ CCLD unit/test-gattrib unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1482 | define_ssa("BV-04-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1498 | define_ssa("BV-06-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-queue unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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, | ^~~~~~~~ PASS: unit/test-mgmt unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1514 | define_ssa("BV-06-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2738:9: note: in expansion of macro 'define_test_client' 2738 | define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:9: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:9: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-textfile unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:9: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2744:9: note: in expansion of macro 'define_test_server' 2744 | define_test_server("/TP/GAR/SR/BV-01-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1530 | define_ssa("BV-06-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:9: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:9: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:9: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:9: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:9: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1574 | define_ssa("BV-07-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2750:9: note: in expansion of macro 'define_test_server' 2750 | define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:9: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1590 | define_ssa("BV-08-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:9: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:9: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2762:9: note: in expansion of macro 'define_test_server' 2762 | define_test_server("/TP/GAR/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1604 | define_ssa("BV-08-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:9: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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, | ^~~~~~~~ PASS: unit/test-uhid unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:9: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:9: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2768:9: note: in expansion of macro 'define_test_server' 2768 | define_test_server("/TP/GAR/SR/BI-02-C/large", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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, | ^~~~~~~~ PASS: unit/test-lib unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1634 | define_ssa("BV-09-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2774:9: note: in expansion of macro 'define_test_att' 2774 | define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1664 | define_ssa("BV-10-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1680 | define_ssa("BV-11-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1689 | define_ssa("BV-11-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1689 | define_ssa("BV-11-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1689 | define_ssa("BV-11-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2783:9: note: in expansion of macro 'define_test_att' 2783 | define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1698 | define_ssa("BV-11-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:9: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:9: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1716 | define_ssa("BV-12-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:9: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:9: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2798:9: note: in expansion of macro 'define_test_att' 2798 | define_test_att("/TP/GAR/CL/BI-06-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:9: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:9: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:9: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:9: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1746 | define_ssa("BV-13-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2804:9: note: in expansion of macro 'define_test_att' 2804 | define_test_att("/TP/GAR/CL/BI-07-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1754 | define_ssa("BV-13-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:9: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:9: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:9: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:9: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1779 | define_ssa("BV-14-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2810:9: note: in expansion of macro 'define_test_att' 2810 | define_test_att("/TP/GAR/CL/BI-09-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:9: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:9: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1786 | define_ssa("BV-14-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:9: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:9: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1793 | define_ssa("BV-14-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2816:9: note: in expansion of macro 'define_test_att' 2816 | define_test_att("/TP/GAR/CL/BI-10-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:9: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1809 | define_ssa("BV-15-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:9: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:9: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1818 | define_ssa("BV-15-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:9: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:102:9: note: in expansion of macro 'define_test' 102 | define_test(name, function, ATT, bt_uuid, NULL, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2822:9: note: in expansion of macro 'define_test_att' 2822 | define_test_att("/TP/GAR/CL/BI-11-C", test_read_by_type, &uuid_char_16, | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:9: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:9: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:9: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:9: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1845 | define_ssa("BV-16-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:9: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2828:9: note: in expansion of macro 'define_test_server' 2828 | define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-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, | ^~~~~~~~ PASS: unit/test-gdbus-client unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1860 | define_ssa("BV-16-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:9: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:9: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:9: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:9: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:9: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2839:9: note: in expansion of macro 'define_test_server' 2839 | define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1875 | define_ssa("BV-16-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:9: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:9: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:9: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2852:9: note: in expansion of macro 'define_test_server' 2852 | define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:9: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:9: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1900 | define_ssa("BV-17-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:9: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2858:9: note: in expansion of macro 'define_test_server' 2858 | define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1915 | define_ssa("BV-17-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:9: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:9: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:9: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2864:9: note: in expansion of macro 'define_test_server' 2864 | define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:9: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:9: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:9: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2870:9: note: in expansion of macro 'define_test_server' 2870 | define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:9: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:9: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 1930 | define_ssa("BV-17-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:9: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2876:9: note: in expansion of macro 'define_test_server' 2876 | define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1955 | define_ssa("BV-18-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 1969 | define_ssa("BV-18-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2882:9: note: in expansion of macro 'define_test_server' 2882 | define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:9: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:9: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:9: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2898:9: note: in expansion of macro 'define_test_server' 2898 | define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:9: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:9: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:9: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2904:9: note: in expansion of macro 'define_test_server' 2904 | define_test_server("/TP/GAR/SR/BI-13-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2007 | define_ssa("BV-19-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:9: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:9: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:9: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2910:9: note: in expansion of macro 'define_test_server' 2910 | define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 2014 | define_ssa("BV-19-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:9: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2021 | define_ssa("BV-19-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:9: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:9: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2916:9: note: in expansion of macro 'define_test_server' 2916 | define_test_server("/TP/GAR/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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, | ^~~~~~~~ PASS: unit/test-gattrib unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:9: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:9: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:9: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 2037 | define_ssa("BV-20-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2922:9: note: in expansion of macro 'define_test_server' 2922 | define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2053 | define_ssa("BV-20-C/UUID-128", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 2070 | define_ssa("BV-21-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2928:9: note: in expansion of macro 'define_test_client' 2928 | define_test_client("/TP/GAR/CL/BV-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2179 | define_ssa("BI-01-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2198 | define_ssa("BI-02-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: note: in expansion of macro 'define_ssa' 2203 | define_ssa("BI-02-C/UUID-32", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:75:35: note: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:2934:9: note: in expansion of macro 'define_test_client' 2934 | define_test_client("/TP/GAR/CL/BV-04-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3044:9: note: in expansion of macro 'define_test_client' 3044 | define_test_client("/TP/GAR/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2221 | define_brw("BV-01-C/UUID-16", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3050:9: note: in expansion of macro 'define_test_client' 3050 | define_test_client("/TP/GAR/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3056:9: note: in expansion of macro 'define_test_client' 3056 | define_test_client("/TP/GAR/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2343 | define_brw("BV-01-C/UUID-32", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3062:9: note: in expansion of macro 'define_test_client' 3062 | define_test_client("/TP/GAR/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3068:9: note: in expansion of macro 'define_test_client' 3068 | define_test_client("/TP/GAR/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: note: in expansion of macro 'define_brw' 2600 | define_brw("BV-02-C/UUID-16", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3074:9: note: in expansion of macro 'define_test_client' 3074 | define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 64 | const struct sdp_pdu pdus[] = { \ | ^~~~~~~ unit/test-sdp.c:76:35: note: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2720:9: note: in expansion of macro 'define_test_de_attr' 2720 | define_test_de_attr("TEXT_STR8/empty", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2723:9: note: in expansion of macro 'define_test_de_attr' 2723 | define_test_de_attr("TEXT_STR8", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3080:9: note: in expansion of macro 'define_test_client' 3080 | define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2726:9: note: in expansion of macro 'define_test_de_attr' 2726 | define_test_de_attr("TEXT_STR16", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2729:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2735:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2741:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2744:9: note: in expansion of macro 'define_test_de_attr' 2744 | define_test_de_attr("UINT8", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2747:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2750:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2753:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2756:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2759:9: note: in expansion of macro 'define_test_de_attr' 2759 | define_test_de_attr("UINT32", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2762:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2765:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2769:9: note: in expansion of macro 'define_test_de_attr' 2769 | define_test_de_attr("INT64", | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2774:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.c:94:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | static struct test_data_de data; \ | ^~~~~~~~~~~~ unit/test-sdp.c:2782:9: 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-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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3088:9: note: in expansion of macro 'define_test_client' 3088 | define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: note: in expansion of macro 'define_rob' 2797 | define_rob("BI-01-C", | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:64:30: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c:67:31: 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:9: 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:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3094:9: note: in expansion of macro 'define_test_client' 3094 | define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3100:9: note: in expansion of macro 'define_test_client' 3100 | define_test_client("/TP/GAR/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3106:9: note: in expansion of macro 'define_test_client' 3106 | define_test_client("/TP/GAR/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3112:9: note: in expansion of macro 'define_test_client' 3112 | define_test_client("/TP/GAR/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-hfp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3118:9: note: in expansion of macro 'define_test_client' 3118 | define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-hog unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3126:9: note: in expansion of macro 'define_test_client' 3126 | define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:9: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:9: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:9: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3132:9: note: in expansion of macro 'define_test_server' 3132 | define_test_server("/TP/GAR/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:9: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:9: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:9: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3138:9: note: in expansion of macro 'define_test_server' 3138 | define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:9: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:9: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:9: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3146:9: note: in expansion of macro 'define_test_server' 3146 | define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:9: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:9: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:9: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3152:9: note: in expansion of macro 'define_test_server' 3152 | define_test_server("/TP/GAR/SR/BI-19-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:9: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:9: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:9: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3158:9: note: in expansion of macro 'define_test_server' 3158 | define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:9: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:9: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:9: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3164:9: note: in expansion of macro 'define_test_server' 3164 | define_test_server("/TP/GAR/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:9: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:9: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:9: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3171:9: note: in expansion of macro 'define_test_server' 3171 | define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:9: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:9: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:9: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3179:9: note: in expansion of macro 'define_test_server' 3179 | define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:9: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:9: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:9: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3185:9: note: in expansion of macro 'define_test_server' 3185 | define_test_server("/TP/GAR/SR/BI-24-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:9: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:9: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:9: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3191:9: note: in expansion of macro 'define_test_server' 3191 | define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3197:9: note: in expansion of macro 'define_test_server' 3197 | define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3211:9: note: in expansion of macro 'define_test_server' 3211 | define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:9: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:9: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:9: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-hfp unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3225:9: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:9: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:9: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:9: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3231:9: note: in expansion of macro 'define_test_server' 3231 | define_test_server("/TP/GAR/SR/BI-29-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:9: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:9: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:9: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3237:9: note: in expansion of macro 'define_test_server' 3237 | define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:9: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:9: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:9: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3243:9: note: in expansion of macro 'define_test_server' 3243 | define_test_server("/TP/GAR/SR/BI-30-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:9: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:9: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:9: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3249:9: note: in expansion of macro 'define_test_server' 3249 | define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3255:9: note: in expansion of macro 'define_test_client' 3255 | define_test_client("/TP/GAN/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:9: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-hog unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:9: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:9: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:9: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:9: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3264:9: note: in expansion of macro 'define_test_server' 3264 | define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avctp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3272:9: note: in expansion of macro 'define_test_server' 3272 | define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3281:9: note: in expansion of macro 'define_test_client' 3281 | define_test_client("/TP/GAI/CL/BV-01-C", test_client, ts_small_db, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3291:9: note: in expansion of macro 'define_test_client' 3291 | define_test_client("/TP/GAR/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3297:9: note: in expansion of macro 'define_test_client' 3297 | define_test_client("/TP/GAR/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-avctp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3303:9: note: in expansion of macro 'define_test_client' 3303 | define_test_client("/TP/GAR/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3309:9: note: in expansion of macro 'define_test_client' 3309 | define_test_client("/TP/GAR/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3315:9: note: in expansion of macro 'define_test_client' 3315 | define_test_client("/TP/GAR/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3321:9: note: in expansion of macro 'define_test_client' 3321 | define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3329:9: note: in expansion of macro 'define_test_client' 3329 | define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3335:9: note: in expansion of macro 'define_test_client' 3335 | define_test_client("/TP/GAR/CL/BV-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3341:9: note: in expansion of macro 'define_test_client' 3341 | define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3451:9: note: in expansion of macro 'define_test_client' 3451 | define_test_client("/TP/GAR/CL/BI-28-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3457:9: note: in expansion of macro 'define_test_client' 3457 | define_test_client("/TP/GAR/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3463:9: note: in expansion of macro 'define_test_client' 3463 | define_test_client("/TP/GAR/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-transfer unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3469:9: note: in expansion of macro 'define_test_client' 3469 | define_test_client("/TP/GAR/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3475:9: note: in expansion of macro 'define_test_client' 3475 | define_test_client("/TP/GAR/CL/BI-32-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3481:9: note: in expansion of macro 'define_test_client' 3481 | define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3489:9: note: in expansion of macro 'define_test_client' 3489 | define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3495:9: note: in expansion of macro 'define_test_client' 3495 | define_test_client("/TP/GAR/CL/BI-34-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3501:9: note: in expansion of macro 'define_test_client' 3501 | define_test_client("/TP/GAR/CL/BI-35-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3507:9: note: in expansion of macro 'define_test_client' 3507 | define_test_client("/TP/GAW/CL/BV-01-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3512:9: note: in expansion of macro 'define_test_client' 3512 | define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3524:9: note: in expansion of macro 'define_test_client' 3524 | define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3530:9: note: in expansion of macro 'define_test_client' 3530 | define_test_client("/TP/GAW/CL/BI-02-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3536:9: note: in expansion of macro 'define_test_client' 3536 | define_test_client("/TP/GAW/CL/BI-03-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3542:9: note: in expansion of macro 'define_test_client' 3542 | define_test_client("/TP/GAW/CL/BI-04-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3548:9: note: in expansion of macro 'define_test_client' 3548 | define_test_client("/TP/GAW/CL/BI-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3554:9: note: in expansion of macro 'define_test_client' 3554 | define_test_client("/TP/GAW/CL/BI-05-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3562:9: note: in expansion of macro 'define_test_client' 3562 | define_test_client("/TP/GAW/CL/BI-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3568:9: note: in expansion of macro 'define_test_server' 3568 | define_test_server("/TP/GAW/SR/BV-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3578:9: note: in expansion of macro 'define_test_server' 3578 | define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:9: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:9: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:9: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3590:9: note: in expansion of macro 'define_test_server' 3590 | define_test_server("/TP/GAW/SR/BV-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:9: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:9: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:9: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3596:9: note: in expansion of macro 'define_test_server' 3596 | define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:9: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:9: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:9: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3602:9: note: in expansion of macro 'define_test_server' 3602 | define_test_server("/TP/GAW/SR/BI-02-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:9: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:9: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avrcp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:9: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3608:9: note: in expansion of macro 'define_test_server' 3608 | define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:9: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:9: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:9: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3614:9: note: in expansion of macro 'define_test_server' 3614 | define_test_server("/TP/GAW/SR/BI-03-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:9: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:9: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:9: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3620:9: note: in expansion of macro 'define_test_server' 3620 | define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3626:9: note: in expansion of macro 'define_test_client' 3626 | define_test_client("/TP/GAW/CL/BV-05-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3842:9: note: in expansion of macro 'define_test_client' 3842 | define_test_client("/TP/GAW/CL/BI-07-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avdtp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3850:9: note: in expansion of macro 'define_test_client' 3850 | define_test_client("/TP/GAW/CL/BI-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3858:9: note: in expansion of macro 'define_test_client' 3858 | define_test_client("/TP/GAW/CL/BI-11-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3866:9: note: in expansion of macro 'define_test_client' 3866 | define_test_client("/TP/GAW/CL/BI-12-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3874:9: note: in expansion of macro 'define_test_client' 3874 | define_test_client("/TP/GAW/CL/BI-13-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3882:9: note: in expansion of macro 'define_test_server' 3882 | define_test_server("/TP/GAW/SR/BV-05-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3896:9: note: in expansion of macro 'define_test_server' 3896 | define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:9: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:9: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:9: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3910:9: note: in expansion of macro 'define_test_server' 3910 | define_test_server("/TP/GAW/SR/BI-07-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:9: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:9: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:9: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3918:9: note: in expansion of macro 'define_test_server' 3918 | define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:9: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:9: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:9: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3926:9: note: in expansion of macro 'define_test_server' 3926 | define_test_server("/TP/GAW/SR/BI-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:9: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:9: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:9: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3934:9: note: in expansion of macro 'define_test_server' 3934 | define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3942:9: note: in expansion of macro 'define_test_client' 3942 | define_test_client("/TP/GAW/CL/BV-06-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3950:9: note: in expansion of macro 'define_test_client' 3950 | define_test_client("/TP/GAW/CL/BI-14-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3958:9: note: in expansion of macro 'define_test_client' 3958 | define_test_client("/TP/GAW/CL/BI-15-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-ecc unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3966:9: note: in expansion of macro 'define_test_client' 3966 | define_test_client("/TP/GAW/CL/BI-17-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3974:9: note: in expansion of macro 'define_test_client' 3974 | define_test_client("/TP/GAW/CL/BI-18-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3982:9: note: in expansion of macro 'define_test_client' 3982 | define_test_client("/TP/GAW/CL/BI-18-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:3992:9: note: in expansion of macro 'define_test_client' 3992 | define_test_client("/TP/GAW/CL/BI-19-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:9: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:9: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:9: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:9: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:9: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4000:9: note: in expansion of macro 'define_test_server' 4000 | define_test_server("/TP/GAW/SR/BV-06-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:9: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:9: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:9: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:9: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:9: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4008:9: note: in expansion of macro 'define_test_server' 4008 | define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4016:9: note: in expansion of macro 'define_test_server' 4016 | define_test_server("/TP/GAW/SR/BV-10-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4030:9: note: in expansion of macro 'define_test_server' 4030 | define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:9: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:9: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:9: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4044:9: note: in expansion of macro 'define_test_server' 4044 | define_test_server("/TP/GAW/SR/BI-14-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:9: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:9: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:9: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4050:9: note: in expansion of macro 'define_test_server' 4050 | define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:9: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:9: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:9: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4056:9: note: in expansion of macro 'define_test_server' 4056 | define_test_server("/TP/GAW/SR/BI-15-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:9: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:9: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:9: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4062:9: note: in expansion of macro 'define_test_server' 4062 | define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4068:9: note: in expansion of macro 'define_test_client' 4068 | define_test_client("/TP/GAW/CL/BV-08-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4074:9: note: in expansion of macro 'define_test_client' 4074 | define_test_client("/TP/GAW/CL/BI-20-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4080:9: note: in expansion of macro 'define_test_client' 4080 | define_test_client("/TP/GAW/CL/BI-21-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4086:9: note: in expansion of macro 'define_test_client' 4086 | define_test_client("/TP/GAW/CL/BI-22-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4092:9: note: in expansion of macro 'define_test_client' 4092 | define_test_client("/TP/GAW/CL/BI-23-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4098:9: note: in expansion of macro 'define_test_client' 4098 | define_test_client("/TP/GAW/CL/BI-23-C/auto", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4106:9: note: in expansion of macro 'define_test_client' 4106 | define_test_client("/TP/GAW/CL/BI-24-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:9: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:9: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:9: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4112:9: note: in expansion of macro 'define_test_server' 4112 | define_test_server("/TP/GAW/SR/BV-08-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:9: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:9: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:9: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4118:9: note: in expansion of macro 'define_test_server' 4118 | define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:9: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:9: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:9: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4124:9: note: in expansion of macro 'define_test_server' 4124 | define_test_server("/TP/GAW/SR/BI-20-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:9: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:9: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:9: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4130:9: note: in expansion of macro 'define_test_server' 4130 | define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:9: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:9: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:9: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4136:9: note: in expansion of macro 'define_test_server' 4136 | define_test_server("/TP/GAW/SR/BI-21-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:9: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:9: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:9: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4142:9: note: in expansion of macro 'define_test_server' 4142 | define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-sdp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-avdtp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4148:9: note: in expansion of macro 'define_test_client' 4148 | define_test_client("/TP/GAW/CL/BV-09-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4364:9: note: in expansion of macro 'define_test_client' 4364 | define_test_client("/TP/GAW/CL/BI-25-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4372:9: note: in expansion of macro 'define_test_client' 4372 | define_test_client("/TP/GAW/CL/BI-26-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-sdp unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4380:9: note: in expansion of macro 'define_test_client' 4380 | define_test_client("/TP/GAW/CL/BI-29-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4388:9: note: in expansion of macro 'define_test_client' 4388 | define_test_client("/TP/GAW/CL/BI-30-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:105:9: note: in expansion of macro 'define_test' 105 | define_test(name, function, CLIENT, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4396:9: note: in expansion of macro 'define_test_client' 4396 | define_test_client("/TP/GAW/CL/BI-31-C", test_client, service_db_1, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4404:9: note: in expansion of macro 'define_test_server' 4404 | define_test_server("/TP/GAW/SR/BV-09-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4418:9: note: in expansion of macro 'define_test_server' 4418 | define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:9: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:9: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:9: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4432:9: note: in expansion of macro 'define_test_server' 4432 | define_test_server("/TP/GAW/SR/BI-25-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:9: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:9: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:9: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4440:9: note: in expansion of macro 'define_test_server' 4440 | define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:9: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:9: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:9: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4448:9: note: in expansion of macro 'define_test_server' 4448 | define_test_server("/TP/GAW/SR/BI-26-C/small", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:9: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:9: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:9: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4456:9: note: in expansion of macro 'define_test_server' 4456 | define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4464:9: note: in expansion of macro 'define_test_server' 4464 | define_test_server("/robustness/no-reliable-characteristic", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:9: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:9: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:9: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:91:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 91 | static struct test_data data; \ | ^~~~~~~~~ unit/test-gatt.c:108:9: note: in expansion of macro 'define_test' 108 | define_test(name, function, SERVER, NULL, source_db, test_step, args) | ^~~~~~~~~~~ unit/test-gatt.c:4484:9: note: in expansion of macro 'define_test_server' 4484 | define_test_server("/robustness/unkown-command", | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-ringbuf PASS: unit/test-avrcp PASS: unit/test-gobex-transfer CCLD unit/test-gatt PASS: unit/test-gatt ============================================================================ Testsuite summary for bluez 5.63 ============================================================================ # TOTAL: 25 # PASS: 25 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ >>> bluez: Entering fakeroot... make --no-print-directory install-am ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/system.d' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man1' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man8' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/pkgconfig' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/include/bluetooth' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/rules.d' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' /usr/bin/install -c -m 644 src/bluetooth.conf mesh/bluetooth-mesh.conf '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/system.d' /usr/bin/install -c -m 644 completion/zsh/_bluetoothctl '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' /usr/bin/install -c -m 644 lib/bluez.pc '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/pkgconfig' /usr/bin/install -c -m 644 tools/97-hid2hci.rules '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/rules.d' /usr/bin/install -c -m 644 lib/bluetooth.h lib/hci.h lib/hci_lib.h lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h '/home/buildozer/aports/main/bluez/pkg/bluez/usr/include/bluetooth' /usr/bin/install -c -m 644 src/bluetoothd.8 mesh/bluetooth-meshd.8 '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man8' /usr/bin/install -c -m 644 monitor/btmon.1 tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1 tools/hid2hci.1 '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man1' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.so.3.19.6 /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.so.3.19.6 libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.6 libbluetooth.so.3; }; }) libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.6 libbluetooth.so; }; }) libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.lai /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.la libtool: warning: remember to run 'libtool --finish /usr/lib' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -c plugins/sixaxis.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' /bin/sh ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd mesh/bluetooth-meshd '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth' /bin/sh ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend' /bin/sh ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/rctest tools/l2test tools/l2ping tools/bluemoon tools/hex2hcd tools/mpris-proxy tools/btattach tools/meshctl tools/mesh-cfgclient tools/mesh-cfgtest tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/sdptool tools/ciptool '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin' libtool: install: /usr/bin/install -c tools/hid2hci /home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/hid2hci libtool: install: /usr/bin/install -c src/bluetoothd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetoothd 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 plugins/.libs/sixaxis.so /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins/sixaxis.so libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.lai /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins/sixaxis.la libtool: install: /usr/bin/install -c obexd/src/obexd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/obexd libtool: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c mesh/bluetooth-meshd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetooth-meshd libtool: install: /usr/bin/install -c 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/mesh-cfgtest /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/mesh-cfgtest libtool: install: /usr/bin/install -c tools/hciattach /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hciattach libtool: install: /usr/bin/install -c tools/hciconfig /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hciconfig libtool: install: /usr/bin/install -c tools/hcitool /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hcitool libtool: install: /usr/bin/install -c tools/hcidump /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hcidump libtool: install: /usr/bin/install -c tools/rfcomm /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/rfcomm libtool: install: /usr/bin/install -c tools/sdptool /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/sdptool libtool: install: /usr/bin/install -c tools/ciptool /home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/ciptool >>> bluez-dev*: Running split function dev... >>> bluez-dev*: Preparing subpackage bluez-dev... >>> bluez-dev*: Stripping binaries >>> bluez-dev*: Running postcheck for bluez-dev >>> bluez-doc*: Running split function doc... >>> bluez-doc*: Preparing subpackage bluez-doc... >>> bluez-doc*: Running postcheck for bluez-doc >>> bluez-libs*: Running split function libs... >>> bluez-libs*: Preparing subpackage bluez-libs... >>> bluez-libs*: Stripping binaries >>> bluez-libs*: Running postcheck for bluez-libs >>> bluez-openrc*: Running split function openrc... >>> bluez-openrc*: Preparing subpackage bluez-openrc... >>> bluez-openrc*: Running postcheck for bluez-openrc >>> bluez-btmgmt*: Running split function btmgmt... >>> bluez-btmgmt*: Preparing subpackage bluez-btmgmt... >>> bluez-btmgmt*: Stripping binaries >>> bluez-btmgmt*: Running postcheck for bluez-btmgmt >>> bluez-btmon*: Running split function btmon... >>> bluez-btmon*: Preparing subpackage bluez-btmon... >>> bluez-btmon*: Stripping binaries >>> bluez-btmon*: Running postcheck for bluez-btmon >>> bluez-cups*: Running split function cups... >>> bluez-cups*: Preparing subpackage bluez-cups... >>> bluez-cups*: Stripping binaries >>> bluez-cups*: Running postcheck for bluez-cups >>> bluez-deprecated*: Running split function deprecated... >>> bluez-deprecated*: Preparing subpackage bluez-deprecated... >>> bluez-deprecated*: Stripping binaries >>> bluez-deprecated*: Running postcheck for bluez-deprecated >>> bluez-deprecated-openrc*: Running split function openrc... >>> bluez-deprecated-openrc*: Preparing subpackage bluez-deprecated-openrc... >>> bluez-deprecated-openrc*: Running postcheck for bluez-deprecated-openrc >>> bluez-hid2hci*: Running split function hid2hci... >>> bluez-hid2hci*: Preparing subpackage bluez-hid2hci... >>> bluez-hid2hci*: Stripping binaries >>> bluez-hid2hci*: Running postcheck for bluez-hid2hci >>> bluez-meshctl*: Running split function meshctl... >>> bluez-meshctl*: Preparing subpackage bluez-meshctl... >>> bluez-meshctl*: Stripping binaries >>> bluez-meshctl*: Running postcheck for bluez-meshctl >>> bluez-obexd*: Running split function obexd... >>> bluez-obexd*: Preparing subpackage bluez-obexd... >>> bluez-obexd*: Stripping binaries >>> bluez-obexd*: Running postcheck for bluez-obexd >>> bluez-plugins*: Running split function plugins... ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib' libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.so.3.19.6 /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/libbluetooth.so.3.19.6 libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.6 libbluetooth.so.3; }; }) libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib && { ln -s -f libbluetooth.so.3.19.6 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.6 libbluetooth.so; }; }) libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.lai /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/libbluetooth.la libtool: warning: remember to run 'libtool --finish /usr/lib' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins' /bin/sh ./libtool --mode=install /usr/bin/install -c plugins/sixaxis.la '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.so /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins/sixaxis.so libtool: install: /usr/bin/install -c plugins/.libs/sixaxis.lai /home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins/sixaxis.la libtool: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' >>> bluez-plugins*: Preparing subpackage bluez-plugins... >>> bluez-plugins*: Stripping binaries >>> bluez-plugins*: Running postcheck for bluez-plugins >>> bluez-zsh-completion*: Running split function zshcomp... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' -> '/home/buildozer/aports/main/bluez/pkg/bluez-zsh-completion/usr/share/zsh/site-functions' >>> bluez-zsh-completion*: Preparing subpackage bluez-zsh-completion... >>> bluez-zsh-completion*: Running postcheck for bluez-zsh-completion >>> bluez*: Running postcheck for bluez >>> bluez*: Preparing package bluez... >>> bluez*: Stripping binaries >>> bluez-btmgmt*: Scanning shared objects >>> bluez-btmon*: Scanning shared objects >>> bluez-cups*: Scanning shared objects >>> bluez-deprecated-openrc*: Scanning shared objects >>> bluez-deprecated*: Scanning shared objects >>> bluez-dev*: Scanning shared objects >>> bluez-doc*: Scanning shared objects >>> bluez-hid2hci*: Scanning shared objects >>> bluez-libs*: Scanning shared objects >>> bluez-meshctl*: Scanning shared objects >>> bluez-obexd*: Scanning shared objects >>> bluez-openrc*: Scanning shared objects >>> bluez-plugins*: Scanning shared objects >>> bluez-zsh-completion*: Scanning shared objects >>> bluez*: Scanning shared objects >>> bluez-btmgmt*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libreadline.so.8 >>> bluez-btmgmt*: Package size: 348.0 KB >>> bluez-btmgmt*: Compressing data... >>> bluez-btmgmt*: Create checksum... >>> bluez-btmgmt*: Create bluez-btmgmt-5.63-r0.apk >>> bluez-btmon*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libudev.so.1 >>> bluez-btmon*: Package size: 792.0 KB >>> bluez-btmon*: Compressing data... >>> bluez-btmon*: Create checksum... >>> bluez-btmon*: Create bluez-btmon-5.63-r0.apk >>> bluez-cups*: Tracing dependencies... dbus so:libc.musl-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.63-r0.apk >>> bluez-deprecated-openrc*: Tracing dependencies... >>> bluez-deprecated-openrc*: Package size: 24.0 KB >>> bluez-deprecated-openrc*: Compressing data... >>> bluez-deprecated-openrc*: Create checksum... >>> bluez-deprecated-openrc*: Create bluez-deprecated-openrc-5.63-r0.apk >>> bluez-deprecated*: Tracing dependencies... dbus so:libc.musl-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.63-r0.apk >>> bluez-dev*: Tracing dependencies... bluez-libs=5.63-r0 pkgconfig >>> bluez-dev*: Package size: 188.0 KB >>> bluez-dev*: Compressing data... >>> bluez-dev*: Create checksum... >>> bluez-dev*: Create bluez-dev-5.63-r0.apk >>> bluez-doc*: Tracing dependencies... >>> bluez-doc*: Package size: 80.0 KB >>> bluez-doc*: Compressing data... >>> bluez-doc*: Create checksum... >>> bluez-doc*: Create bluez-doc-5.63-r0.apk >>> bluez-hid2hci*: Tracing dependencies... dbus so:libc.musl-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.63-r0.apk >>> bluez-libs*: Tracing dependencies... so:libc.musl-x86.so.1 >>> bluez-libs*: Package size: 196.0 KB >>> bluez-libs*: Compressing data... >>> bluez-libs*: Create checksum... >>> bluez-libs*: Create bluez-libs-5.63-r0.apk >>> bluez-meshctl*: Tracing dependencies... dbus so:libc.musl-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: 268.0 KB >>> bluez-meshctl*: Compressing data... >>> bluez-meshctl*: Create checksum... >>> bluez-meshctl*: Create bluez-meshctl-5.63-r0.apk >>> bluez-obexd*: Tracing dependencies... dbus so:libc.musl-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.63-r0.apk >>> bluez-openrc*: Tracing dependencies... >>> bluez-openrc*: Package size: 16.0 KB >>> bluez-openrc*: Compressing data... >>> bluez-openrc*: Create checksum... >>> bluez-openrc*: Create bluez-openrc-5.63-r0.apk >>> bluez-plugins*: Tracing dependencies... dbus so:libc.musl-x86.so.1 so:libudev.so.1 >>> bluez-plugins*: Package size: 52.0 KB >>> bluez-plugins*: Compressing data... >>> bluez-plugins*: Create checksum... >>> bluez-plugins*: Create bluez-plugins-5.63-r0.apk >>> bluez-zsh-completion*: Tracing dependencies... >>> bluez-zsh-completion*: Package size: 24.0 KB >>> bluez-zsh-completion*: Compressing data... >>> bluez-zsh-completion*: Create checksum... >>> bluez-zsh-completion*: Create bluez-zsh-completion-5.63-r0.apk >>> bluez*: Tracing dependencies... dbus so:libc.musl-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.4 MB >>> bluez*: Compressing data... >>> bluez*: Create checksum... >>> bluez*: Create bluez-5.63-r0.apk >>> bluez: Build complete at Tue, 18 Jan 2022 17:00:43 +0000 elapsed time 0h 1m 12s >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Uninstalling dependencies... (1/113) Purging .makedepends-bluez (20220118.165932) (2/113) Purging dbus-openrc (1.12.20-r4) (3/113) Purging dbus (1.12.20-r4) (4/113) Purging dbus-dev (1.12.20-r4) (5/113) Purging dbus-libs (1.12.20-r4) (6/113) Purging libusb-compat-dev (0.1.7-r1) (7/113) Purging libusb-compat (0.1.7-r1) (8/113) Purging eudev-dev (3.2.11-r0) (9/113) Purging eudev-openrc (3.2.11-r0) (10/113) Purging eudev (3.2.11-r0) (11/113) Purging udev-init-scripts-openrc (35-r0) (12/113) Purging udev-init-scripts (35-r0) (13/113) Purging eudev-libs (3.2.11-r0) (14/113) Purging json-c-dev (0.15-r2) (15/113) Purging json-c (0.15-r2) (16/113) Purging libical-dev (3.0.11-r3) (17/113) Purging libxml2-dev (2.9.12-r3) (18/113) Purging xz-dev (5.2.5-r0) (19/113) Purging gobject-introspection-dev (1.70.0-r2) (20/113) Purging cairo-dev (1.16.0-r3) (21/113) Purging cairo-tools (1.16.0-r3) (22/113) Purging xcb-util-dev (0.4.0-r3) (23/113) Purging util-macros (1.19.3-r0) (24/113) Purging xcb-util (0.4.0-r3) (25/113) Purging cairo-gobject (1.16.0-r3) (26/113) Purging cairo (1.16.0-r3) (27/113) Purging libical (3.0.11-r3) (28/113) Purging readline-dev (8.1.1-r0) (29/113) Purging libhistory (8.1.1-r0) (30/113) Purging glib-dev (2.70.1-r0) (31/113) Purging gettext-dev (0.21-r1) (32/113) Purging gettext-asprintf (0.21-r1) (33/113) Purging gettext (0.21-r1) (34/113) Purging bzip2-dev (1.0.8-r1) (35/113) Purging docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-deinstall (36/113) Purging libxslt (1.1.34-r1) (37/113) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (38/113) Purging libxml2-utils (2.9.12-r3) (39/113) Purging autoconf (2.71-r0) (40/113) Purging m4 (1.4.18-r2) (41/113) Purging automake (1.16.5-r0) (42/113) Purging libtool (2.4.6-r7) (43/113) Purging bash (5.1.16-r0) Executing bash-5.1.16-r0.pre-deinstall (44/113) Purging libltdl (2.4.6-r7) (45/113) Purging ell-dev (0.47-r0) (46/113) Purging ell (0.47-r0) (47/113) Purging py3-docutils (0.16-r4) (48/113) Purging python3 (3.10.1-r0) (49/113) Purging git-perl (2.34.1-r1) (50/113) Purging perl-git (2.34.1-r1) (51/113) Purging perl-error (0.17029-r1) (52/113) Purging perl (5.34.0-r1) (53/113) Purging fontconfig-dev (2.13.1-r5) (54/113) Purging fontconfig (2.13.1-r5) (55/113) Purging util-linux-dev (2.37.2-r7) (56/113) Purging libfdisk (2.37.2-r7) (57/113) Purging libsmartcols (2.37.2-r7) (58/113) Purging libuuid (2.37.2-r7) (59/113) Purging gobject-introspection (1.70.0-r2) (60/113) Purging glib (2.70.1-r0) (61/113) Purging libmount (2.37.2-r7) (62/113) Purging libblkid (2.37.2-r7) (63/113) Purging libusb-dev (1.0.24-r3) (64/113) Purging libusb (1.0.24-r3) (65/113) Purging kmod-libs (29-r2) (66/113) Purging freetype-dev (2.11.1-r0) (67/113) Purging freetype (2.11.1-r0) (68/113) Purging libpng-dev (1.6.37-r1) (69/113) Purging libpng (1.6.37-r1) (70/113) Purging zlib-dev (1.2.11-r3) (71/113) Purging libxml2 (2.9.12-r3) (72/113) Purging libffi-dev (3.4.2-r1) (73/113) Purging linux-headers (5.10.41-r0) (74/113) Purging libffi (3.4.2-r1) (75/113) Purging gdbm (1.22-r0) (76/113) Purging mpdecimal (2.5.1-r1) (77/113) Purging readline (8.1.1-r0) (78/113) Purging sqlite-libs (3.37.2-r0) (79/113) Purging libxrender-dev (0.9.10-r3) (80/113) Purging libxrender (0.9.10-r3) (81/113) Purging libxext-dev (1.3.4-r0) (82/113) Purging libxext (1.3.4-r0) (83/113) Purging libx11-dev (1.7.3.1-r0) (84/113) Purging xtrans (1.4.0-r1) (85/113) Purging libx11 (1.7.3.1-r0) (86/113) Purging libxcb-dev (1.14-r2) (87/113) Purging xcb-proto (1.14.1-r3) (88/113) Purging libxcb (1.14-r2) (89/113) Purging libxau-dev (1.0.9-r0) (90/113) Purging libxau (1.0.9-r0) (91/113) Purging libxdmcp-dev (1.1.3-r0) (92/113) Purging libxdmcp (1.1.3-r0) (93/113) Purging libbsd (0.11.3-r1) (94/113) Purging libmd (1.0.3-r0) (95/113) Purging pixman-dev (0.40.0-r3) (96/113) Purging pixman (0.40.0-r3) (97/113) Purging gettext-libs (0.21-r1) (98/113) Purging libintl (0.21-r1) (99/113) Purging pcre-dev (8.45-r1) (100/113) Purging libpcre16 (8.45-r1) (101/113) Purging libpcre32 (8.45-r1) (102/113) Purging libpcrecpp (8.45-r1) (103/113) Purging pcre (8.45-r1) (104/113) Purging expat-dev (2.4.3-r0) (105/113) Purging brotli-dev (1.0.9-r6) (106/113) Purging xorgproto (2021.5-r0) (107/113) Purging libunistring (0.9.10-r1) (108/113) Purging libgcrypt (1.9.4-r0) (109/113) Purging libgpg-error (1.42-r1) (110/113) Purging icu-dev (69.1-r1) (111/113) Purging icu (69.1-r1) (112/113) Purging icu-libs (69.1-r1) (113/113) Purging ncurses-dev (6.3_p20220115-r0) Executing busybox-1.35.0-r1.trigger OK: 333 MiB in 99 packages >>> bluez: Updating the main/x86 repository index... >>> bluez: Signing the index...