>>> bluez: Building main/bluez 5.59-r0 (using abuild 3.11.21-r0) started Thu, 21 Sep 2023 20:30:54 +0000 >>> bluez: Checking sanity of /home/buildozer/aports/main/bluez/APKBUILD... >>> bluez: Analyzing dependencies... >>> bluez: Installing for build: build-base dbus dbus-dev ell-dev eudev-dev glib-dev json-c-dev libical-dev libtool linux-headers py3-docutils readline-dev (1/115) Installing dbus-libs (1.14.10-r0) (2/115) Installing dbus (1.14.10-r0) Executing dbus-1.14.10-r0.pre-install Executing dbus-1.14.10-r0.post-install (3/115) Installing dbus-daemon-launch-helper (1.14.10-r0) (4/115) Installing libblkid (2.39.2-r0) (5/115) Installing libuuid (2.39.2-r0) (6/115) Installing libfdisk (2.39.2-r0) (7/115) Installing libmount (2.39.2-r0) (8/115) Installing libsmartcols (2.39.2-r0) (9/115) Installing util-linux-dev (2.39.2-r0) (10/115) Installing dbus-dev (1.14.10-r0) (11/115) Installing ell (0.58-r0) (12/115) Installing ell-dev (0.58-r0) (13/115) Installing udev-init-scripts (35-r1) (14/115) Installing dbus-openrc (1.14.10-r0) (15/115) Installing udev-init-scripts-openrc (35-r1) (16/115) Installing eudev-openrc (3.2.12-r4) (17/115) Installing eudev-libs (3.2.12-r4) (18/115) Installing kmod-libs (30-r4) (19/115) Installing eudev (3.2.12-r4) (20/115) Installing eudev-dev (3.2.12-r4) (21/115) Installing bzip2-dev (1.0.8-r6) (22/115) Installing libxml2 (2.11.5-r0) (23/115) Installing libxml2-utils (2.11.5-r0) (24/115) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (25/115) Installing libgpg-error (1.47-r2) (26/115) Installing libgcrypt (1.10.2-r2) (27/115) Installing libxslt (1.1.38-r1) (28/115) Installing docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-install (29/115) Installing xz (5.4.4-r0) (30/115) Installing gettext-asprintf (0.22.2-r0) (31/115) Installing libintl (0.22.2-r0) (32/115) Installing gettext-libs (0.22.2-r0) (33/115) Installing gettext-envsubst (0.22.2-r0) (34/115) Installing gettext (0.22.2-r0) (35/115) Installing gettext-dev (0.22.2-r0) (36/115) Installing libffi (3.4.4-r3) (37/115) Installing gdbm (1.23-r1) (38/115) Installing mpdecimal (2.5.1-r2) (39/115) Installing libpanelw (6.4_p20230722-r0) (40/115) Installing readline (8.2.1-r2) (41/115) Installing sqlite-libs (3.43.1-r0) (42/115) Installing python3 (3.11.5-r0) (43/115) Installing python3-pycache-pyc0 (3.11.5-r0) (44/115) Installing pyc (0.1-r0) (45/115) Installing python3-pyc (3.11.5-r0) (46/115) Installing glib (2.78.0-r0) (47/115) Installing linux-headers (6.5-r0) (48/115) Installing libffi-dev (3.4.4-r3) (49/115) Installing bsd-compat-headers (0.7.2-r5) (50/115) Installing libformw (6.4_p20230722-r0) (51/115) Installing libmenuw (6.4_p20230722-r0) (52/115) Installing libncurses++ (6.4_p20230722-r0) (53/115) Installing ncurses-dev (6.4_p20230722-r0) (54/115) Installing libedit-dev (20230828.3.1-r3) (55/115) Installing zlib-dev (1.3-r0) (56/115) Installing libpcre2-16 (10.42-r1) (57/115) Installing libpcre2-32 (10.42-r1) (58/115) Installing pcre2-dev (10.42-r1) (59/115) Installing glib-dev (2.78.0-r0) (60/115) Installing json-c (0.17-r0) (61/115) Installing json-c-dev (0.17-r0) (62/115) Installing xz-dev (5.4.4-r0) (63/115) Installing libxml2-dev (2.11.5-r0) (64/115) Installing cairo-tools (1.17.8-r2) (65/115) Installing libpng (1.6.40-r0) (66/115) Installing freetype (2.13.2-r0) (67/115) Installing fontconfig (2.14.2-r4) (68/115) Installing expat (2.5.0-r2) (69/115) Installing expat-dev (2.5.0-r2) (70/115) Installing brotli (1.0.9-r15) (71/115) Installing brotli-dev (1.0.9-r15) (72/115) Installing libpng-dev (1.6.40-r0) (73/115) Installing freetype-dev (2.13.2-r0) (74/115) Installing fontconfig-dev (2.14.2-r4) (75/115) Installing libxau (1.0.11-r3) (76/115) Installing xorgproto (2023.2-r0) (77/115) Installing libxau-dev (1.0.11-r3) (78/115) Installing libmd (1.1.0-r0) (79/115) Installing libbsd (0.11.7-r3) (80/115) Installing libxdmcp (1.1.4-r3) (81/115) Installing libxcb (1.16-r0) (82/115) Installing libx11 (1.8.6-r0) (83/115) Installing libxext (1.3.5-r3) (84/115) Installing xcb-proto (1.16.0-r0) (85/115) Installing xcb-proto-pyc (1.16.0-r0) (86/115) Installing libxdmcp-dev (1.1.4-r3) (87/115) Installing libxcb-dev (1.16-r0) (88/115) Installing xtrans (1.5.0-r0) (89/115) Installing libx11-dev (1.8.6-r0) (90/115) Installing libxext-dev (1.3.5-r3) (91/115) Installing libxrender (0.9.11-r4) (92/115) Installing libxrender-dev (0.9.11-r4) (93/115) Installing pixman (0.42.2-r2) (94/115) Installing pixman-dev (0.42.2-r2) (95/115) Installing util-macros (1.20.0-r0) (96/115) Installing xcb-util (0.4.1-r3) (97/115) Installing xcb-util-dev (0.4.1-r3) (98/115) Installing cairo (1.17.8-r2) (99/115) Installing cairo-gobject (1.17.8-r2) (100/115) Installing cairo-dev (1.17.8-r2) (101/115) Installing libltdl (2.4.7-r3) (102/115) Installing libtool (2.4.7-r3) (103/115) Installing gobject-introspection (1.78.1-r0) (104/115) Installing gobject-introspection-dev (1.78.1-r0) (105/115) Installing icu-data-en (73.2-r2) Executing icu-data-en-73.2-r2.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (106/115) Installing icu-libs (73.2-r2) (107/115) Installing libical (3.0.16-r4) (108/115) Installing icu (73.2-r2) (109/115) Installing icu-dev (73.2-r2) (110/115) Installing libical-dev (3.0.16-r4) (111/115) Installing py3-docutils (0.20.1-r0) (112/115) Installing py3-docutils-pyc (0.20.1-r0) (113/115) Installing libhistory (8.2.1-r2) (114/115) Installing readline-dev (8.2.1-r2) (115/115) Installing .makedepends-bluez (20230921.203055) Executing busybox-1.36.1-r8.trigger Executing dbus-1.14.10-r0.trigger Executing eudev-3.2.12-r4.trigger Executing glib-2.78.0-r0.trigger No schema files found: removed existing output file. OK: 428 MiB in 222 packages >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Cleaning up tmpdir >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/edge/bluez-5.59.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> bluez: Fetching https://www.kernel.org/pub/linux/bluetooth/bluez-5.59.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 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 162 100 162 0 0 60 0 0:00:02 0:00:02 --:--:-- 60 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 3 2073k 3 81521 0 0 19411 0 0:01:49 0:00:04 0:01:45 85631 100 2073k 100 2073k 0 0 417k 0 0:00:04 0:00:04 --:--:-- 1208k >>> bluez: Fetching https://distfiles.alpinelinux.org/distfiles/edge/bluez-5.59.tar.xz >>> bluez: Checking sha512sums... bluez-5.59.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-firmware-into-lib-firmware.patch: OK 005-hostname-Use-phone-class-for-handhelds.patch: OK disable-lock-test.patch: OK fix-endianness.patch: OK mesh-cfgtest-limits.patch: OK test-mesh-crypto.patch: OK >>> bluez: Unpacking /var/cache/distfiles/bluez-5.59.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-firmware-into-lib-firmware.patch patching file tools/hciattach_bcm43xx.c patching file tools/hciattach_qualcomm.c patching file tools/hciattach_tialt.c >>> 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 >>> bluez: mesh-cfgtest-limits.patch patching file tools/mesh-cfgtest.c >>> bluez: test-mesh-crypto.patch patching file Makefile.am patching file Makefile.in checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking 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 powerpc64le-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 powerpc64le-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for C/C++ restrict keyword... __restrict checking for powerpc64le-alpine-linux-musl-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether gcc accepts -fPIE... yes checking build system type... powerpc64le-alpine-linux-musl checking host system type... powerpc64le-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/powerpc64le-alpine-linux-musl/bin/ld checking if the linker (/usr/powerpc64le-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 powerpc64le-alpine-linux-musl file names to powerpc64le-alpine-linux-musl format... func_convert_file_noop checking how to convert powerpc64le-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/powerpc64le-alpine-linux-musl/bin/ld option to reload object files... -r checking for powerpc64le-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for powerpc64le-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc64le-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for powerpc64le-alpine-linux-musl-strip... no checking for strip... strip checking for powerpc64le-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 powerpc64le-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.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/powerpc64le-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 linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking linux/if_alg.h usability... yes checking linux/if_alg.h presence... yes checking for linux/if_alg.h... yes checking for glib-2.0 >= 2.28... yes checking for dbus-1 >= 1.6... 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 libudev >= 172... yes checking for udev_hwdb_new in -ludev... yes checking udev directory... /lib/udev checking for json-c >= 0.13... yes checking for libical... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for rst2man... rst2man checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/bluetoothd.rst config.status: creating lib/bluez.pc config.status: creating mesh/bluetooth-meshd.rst config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands GEN lib/bluetooth/bluetooth.h GEN lib/bluetooth/hci.h GEN lib/bluetooth/hci_lib.h GEN lib/bluetooth/sco.h GEN lib/bluetooth/l2cap.h GEN lib/bluetooth/sdp.h GEN lib/bluetooth/sdp_lib.h GEN lib/bluetooth/rfcomm.h GEN lib/bluetooth/cmtp.h GEN lib/bluetooth/hidp.h GEN lib/bluetooth/bnep.h GEN ell/shared GEN ell/ell.h GEN ell/internal GEN src/builtin.h GEN obexd/src/builtin.h make --no-print-directory all-am CC src/shared/io-mainloop.lo CC src/shared/timeout-mainloop.lo CC src/shared/mainloop.lo CC src/shared/io-ell.lo CC src/shared/timeout-ell.lo CC src/shared/mainloop-ell.lo CC tools/mesh-cfgtest.o CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_ti.o CC tools/hciattach_tialt.o CC tools/hciattach_ath3k.o CC tools/hciattach_qualcomm.o CC tools/hciattach_intel.o CC tools/hciattach_bcm43xx.o CC tools/hciconfig.o CC tools/hcitool.o CC tools/hcidump.o CC tools/rfcomm.o CC tools/sdptool.o CC src/sdp-xml.o CC tools/ciptool.o CC tools/bdaddr.o CC tools/avinfo.o CC tools/avtest.o CC tools/scotest.o CC tools/amptest.o CC tools/hwdb.o CC tools/hcieventmask.o CC tools/hcisecfilter.o CC tools/btinfo.o CC tools/btconfig.o CC tools/btsnoop.o CC tools/btproxy.o CC tools/btiotest.o CC tools/bneptest.o CC src/log.o CC tools/mcaptest.o CC tools/cltest.o CC tools/oobtest.o CC tools/advtest.o CC tools/seq2bseq.o CC tools/nokfw.o CC tools/rtlfw.o CC tools/bcmfw.o CC tools/create-image.o CC tools/eddystone.o CC tools/ibeacon.o CC tools/btgatt-client.o CC src/uuid-helper.o CC tools/btgatt-server.o CC tools/test-runner.o CC tools/check-selftest.o CC tools/gatt-service.o CC tools/btmgmt.o CC tools/obex-client-tool.o CC tools/obex-server-tool.o CC tools/bluetooth-player.o CC tools/obexctl.o CC profiles/network/bluetoothd-manager.o CC profiles/network/bluetoothd-bnep.o CC profiles/network/bluetoothd-server.o CC profiles/network/bluetoothd-connection.o CC profiles/input/bluetoothd-suspend-none.o CC profiles/deviceinfo/bluetoothd-deviceinfo.o CC attrib/bluetoothd-att.o CC profiles/battery/bluetoothd-battery.o CC attrib/bluetoothd-gatt.o CC attrib/bluetoothd-gattrib.o CC attrib/bluetoothd-gatt-service.o CC btio/bluetoothd-btio.o CC src/bluetoothd-log.o CC src/bluetoothd-main.o CC src/bluetoothd-backtrace.o CC src/bluetoothd-rfkill.o CC src/bluetoothd-sdpd-request.o CC src/bluetoothd-sdpd-server.o CC src/bluetoothd-sdpd-service.o CC src/bluetoothd-sdpd-database.o CC src/bluetoothd-attrib-server.o CC src/bluetoothd-gatt-database.o CC src/bluetoothd-sdp-xml.o CC src/bluetoothd-sdp-client.o CC src/bluetoothd-uuid-helper.o CC src/bluetoothd-textfile.o CC src/bluetoothd-plugin.o CC src/bluetoothd-storage.o CC src/bluetoothd-advertising.o CC src/bluetoothd-agent.o CC src/bluetoothd-error.o CC src/bluetoothd-adapter.o CC src/bluetoothd-profile.o CC src/bluetoothd-service.o CC src/bluetoothd-gatt-client.o CC src/bluetoothd-device.o CC src/bluetoothd-dbus-common.o CC src/bluetoothd-eir.o CC src/bluetoothd-adv_monitor.o CC src/bluetoothd-battery.o GEN src/bluetooth.service CC btio/obexd-btio.o CC gobex/obexd-gobex.o CC gobex/obexd-gobex-defs.o CC gobex/obexd-gobex-packet.o CC gobex/obexd-gobex-header.o CC gobex/obexd-gobex-transfer.o CC gobex/obexd-gobex-apparam.o CC mesh/mesh.o CC mesh/net-keys.o CC mesh/mesh-io.o CC mesh/mesh-mgmt.o CC mesh/mesh-io-generic.o 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from tools/gatt-service.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ 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); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC mesh/mesh-io-unit.o CC mesh/net.o CC mesh/friend.o CC mesh/appkey.o CC mesh/node.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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC mesh/model.o CC mesh/cfgmod-server.o CC mesh/mesh-config-json.o CC mesh/dbus.o CC mesh/agent.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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/battery/battery.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC mesh/prov-acceptor.o CC mesh/prov-initiator.o CC mesh/manager.o CC mesh/keyring.o CC mesh/pb-adv.o CC mesh/rpl.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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from src/attrib-server.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ GEN mesh/bluetooth-mesh.service CC mesh/main.o 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 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from gobex/gobex-defs.h:13, from gobex/gobex-packet.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ GEN tools/hciattach.1 GEN tools/btattach.1 GEN tools/hciconfig.1 GEN tools/hcitool.1 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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); | ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ GEN tools/hcidump.1 GEN tools/sdptool.1 GEN tools/ciptool.1 GEN tools/rfcomm.1 GEN tools/hid2hci.1 GEN mesh/bluetooth-meshd.8 CC client/main.o GEN tools/97-hid2hci.rules CC client/display.o CC client/agent.o CC client/advertising.o CC client/adv_monitor.o CC client/gatt.o CC gdbus/mainloop.lo CC gdbus/watch.lo CC gdbus/object.lo CC gdbus/client.lo CC gdbus/polkit.lo CC src/shared/queue.lo CC src/shared/util.lo CC src/shared/mgmt.lo CC src/shared/crypto.lo CC src/shared/ecc.lo CC src/shared/ringbuf.lo CC src/shared/hci.lo CC src/shared/hci-crypto.lo CC src/shared/hfp.lo CC src/shared/uhid.lo CC src/shared/pcap.lo CC src/shared/btsnoop.lo CC src/shared/ad.lo CC src/shared/att.lo CC src/shared/gatt-helpers.lo CC src/shared/gatt-client.lo CC src/shared/gatt-server.lo CC src/shared/gatt-db.lo CC src/shared/gap.lo CC src/shared/log.lo CC src/shared/shell.lo CC src/shared/io-glib.lo CC src/shared/timeout-glib.lo CC src/shared/mainloop-glib.lo CC src/shared/mainloop-notify.lo CC src/shared/tester.lo CC monitor/main.o CC monitor/display.o CC monitor/hcidump.o CC monitor/ellisys.o CC monitor/control.o CC monitor/packet.o CC monitor/vendor.o CC monitor/lmp.o CC monitor/crc.o CC monitor/ll.o CC monitor/l2cap.o CC monitor/sdp.o CC monitor/avctp.o CC monitor/avdtp.o CC monitor/a2dp.o CC monitor/rfcomm.o CC monitor/hwdb.o CC monitor/bnep.o CC monitor/keys.o CC monitor/analyze.o CC monitor/intel.o CC monitor/broadcom.o client/gatt.c: In function 'str2bytearray': client/gatt.c:793:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 793 | return g_memdup(value, i); | ^~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from client/gatt.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC monitor/msft.o CC monitor/jlink.o CC lib/hci.lo CC lib/sdp.lo CC lib/bluetooth.lo CC lib/uuid.lo CC tools/rctest.o CC tools/l2ping.o CC tools/bluemoon.o CC tools/l2test.o CC tools/hex2hcd.o CC tools/mpris-proxy.o CC tools/btattach.o CC tools/meshctl.o CC tools/mesh/agent.o CC tools/mesh-gatt/node.o CC tools/mesh-gatt/gatt.o CC tools/mesh-gatt/crypto.o CC tools/mesh-gatt/net.o CC tools/mesh-gatt/prov.o CC tools/mesh-gatt/util.o CC tools/mesh-gatt/prov-db.o CC tools/mesh-gatt/config-client.o CC tools/mesh-gatt/config-server.o CC tools/mesh-gatt/onoff-model.o CC tools/mesh-cfgclient.o CC tools/mesh/cfgcli.o CC tools/mesh/keys.o CC tools/mesh/util.o CC tools/mesh/mesh-db.o CC tools/mesh/remote.o CC mesh/util.o CC mesh/crypto.o CC ell/util.lo CC ell/log.lo CC ell/queue.lo CC ell/hashmap.lo CC ell/random.lo CC ell/signal.lo CC ell/time.lo CC ell/timeout.lo CC ell/io.lo CC ell/idle.lo CC ell/main.lo CC ell/settings.lo CC ell/strv.lo CC ell/string.lo CC ell/cipher.lo CC ell/checksum.lo CC ell/pem.lo CC ell/cert.lo CC ell/cert-crypto.lo CC ell/key.lo CC ell/base64.lo CC ell/utf8.lo CC ell/dbus.lo CC ell/dbus-message.lo CC ell/dbus-util.lo CC ell/dbus-client.lo CC ell/dbus-service.lo CC ell/dbus-name-cache.lo CC ell/dbus-filter.lo CC ell/gvariant-util.lo CC ell/siphash.lo CC ell/uuid.lo CC ell/tester.lo CC ell/tls.lo CC ell/tls-extensions.lo CC ell/tls-suites.lo CC ell/tls-record.lo CC ell/ecc.lo 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from tools/mesh-gatt/gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC ell/ecc-external.lo CC ell/ecdh.lo CC src/oui.o CC tools/parser/parser.o CC tools/parser/lmp.o CC tools/parser/hci.o CC tools/parser/l2cap.o CC tools/parser/amp.o CC tools/parser/smp.o CC tools/parser/att.o CC tools/parser/sdp.o CC tools/parser/rfcomm.o CC tools/parser/bnep.o CC tools/parser/cmtp.o CC tools/parser/hidp.o CC tools/parser/hcrp.o CC tools/parser/avdtp.o CC tools/parser/avctp.o CC tools/parser/avrcp.o CC tools/parser/sap.o CC tools/parser/obex.o CC tools/parser/capi.o CC tools/parser/ppp.o CC tools/parser/tcpip.o CC tools/parser/ericsson.o CC tools/parser/csr.o CC tools/parser/bpa.o CC profiles/cups/main.o CC profiles/cups/sdp.o CC profiles/cups/spp.o CC profiles/cups/hcrp.o CC btio/btio.o CCLD tools/hcisecfilter CC profiles/network/bnep.o CC profiles/health/mcap.o CCLD tools/seq2bseq CCLD tools/nokfw CCLD tools/rtlfw CCLD tools/bcmfw CCLD tools/create-image CCLD tools/test-runner CC profiles/iap/main.o CCLD tools/check-selftest CC gobex/gobex.o CC gobex/gobex-defs.o CC gobex/gobex-packet.o CC gobex/gobex-header.o CC gobex/gobex-transfer.o CC gobex/gobex-apparam.o CC attrib/gatttool.o CC attrib/att.o CC attrib/gatt.o CC attrib/gattrib.o CC attrib/interactive.o CC attrib/utils.o CC plugins/bluetoothd-hostname.o CC plugins/bluetoothd-wiimote.o CC plugins/bluetoothd-autopair.o CC plugins/bluetoothd-policy.o CC profiles/audio/bluetoothd-source.o CC profiles/audio/bluetoothd-sink.o CC profiles/audio/bluetoothd-a2dp.o CC profiles/audio/bluetoothd-avdtp.o CC profiles/audio/bluetoothd-media.o CC profiles/audio/bluetoothd-transport.o CC profiles/audio/bluetoothd-control.o CC profiles/audio/bluetoothd-avctp.o CC profiles/audio/bluetoothd-avrcp.o CC profiles/audio/bluetoothd-player.o CC profiles/input/bluetoothd-manager.o CC profiles/input/bluetoothd-server.o CC profiles/input/bluetoothd-device.o CC profiles/input/bluetoothd-hog.o CC profiles/input/bluetoothd-hog-lib.o CC profiles/deviceinfo/bluetoothd-dis.o CC profiles/battery/bluetoothd-bas.o CC profiles/scanparam/bluetoothd-scpp.o CC profiles/gap/bluetoothd-gas.o CC profiles/scanparam/bluetoothd-scan.o CC obexd/plugins/obexd-filesystem.o CC obexd/plugins/obexd-bluetooth.o CC obexd/plugins/obexd-opp.o CC obexd/plugins/obexd-ftp.o CC obexd/plugins/obexd-irmc.o CC obexd/plugins/obexd-pbap.o CC obexd/plugins/obexd-vcard.o gobex/gobex-packet.c: In function 'g_obex_packet_set_data': gobex/gobex-header.c: In function 'g_obex_header_decode': 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from gobex/gobex-defs.h:13, from gobex/gobex-packet.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from gobex/gobex-header.h:13, from gobex/gobex-header.c:16: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/plugins/obexd-phonebook-dummy.o 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); | ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ 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 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from attrib/gatt.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/src/obexd-plugin.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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from plugins/policy.c:20: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/src/obexd-log.o 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)); | ^~~ CC obexd/src/obexd-manager.o In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/battery/bas.c:18: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/src/obexd-obex.o 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/deviceinfo/dis.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/src/obexd-mimetype.o CC obexd/src/obexd-service.o CC obexd/src/obexd-transport.o CC obexd/src/obexd-server.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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/scanparam/scpp.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/client/obexd-manager.o CC obexd/client/obexd-session.o CC obexd/client/obexd-bluetooth.o CC obexd/client/obexd-sync.o 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avctp.c: In function 'avctp_send_req': CC obexd/client/obexd-pbap.o profiles/audio/avctp.c:1734:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1734 | req->operands = g_memdup(operands, operand_count); | ^~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/audio/avctp.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avctp.c: In function 'avctp_send_browsing_req': profiles/audio/avctp.c:1772:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1772 | req->operands = g_memdup(operands, operand_count); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CC obexd/client/obexd-ftp.o CC obexd/client/obexd-opp.o 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)); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_handle_get_current_player_value': profiles/audio/avrcp.c:1300:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1300 | settings = g_memdup(&pdu->params[1], pdu->params[0]); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/audio/avrcp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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 profiles/audio/avrcp.c: In function 'avrcp_set_browsed_player_rsp': profiles/audio/avrcp.c:2803:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2803 | folders[count] = g_memdup(&pdu->params[i], len); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/audio/avrcp.c: In function 'avrcp_player_parse_features': profiles/audio/avrcp.c:2890:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2890 | player->features = g_memdup(features, 16); | ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD lib/libbluetooth.la CCLD tools/hid2hci CCLD plugins/sixaxis.la CCLD gdbus/libgdbus-internal.la CCLD src/libshared-glib.la CCLD lib/libbluetooth-internal.la CCLD src/libshared-mainloop.la CCLD tools/hex2hcd CCLD src/libshared-ell.la CCLD ell/libell-internal.la 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 tools/bdaddr CCLD tools/avtest CCLD tools/avinfo CCLD tools/scotest CCLD tools/amptest CCLD tools/hwdb CCLD tools/hcieventmask CCLD tools/btiotest CCLD tools/gatt-service CCLD profiles/iap/iapd 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from obexd/src/obex.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD tools/obex-client-tool CCLD tools/obex-server-tool CCLD tools/mpris-proxy CCLD profiles/cups/bluetooth CCLD tools/bluemoon CCLD tools/btattach CCLD tools/btinfo CCLD tools/btconfig CCLD tools/btsnoop CCLD tools/btproxy CCLD tools/bneptest CCLD tools/mcaptest CCLD tools/cltest CCLD tools/oobtest CCLD tools/advtest CCLD tools/eddystone CCLD tools/ibeacon CCLD tools/btgatt-client CCLD tools/btgatt-server CCLD tools/btmgmt CCLD client/bluetoothctl CCLD tools/meshctl CCLD tools/bluetooth-player CCLD tools/obexctl CCLD attrib/gatttool CCLD tools/mesh-cfgclient CCLD tools/mesh-cfgtest CCLD mesh/bluetooth-meshd CCLD obexd/src/obexd CCLD src/bluetoothd CCLD monitor/btmon make --no-print-directory check-am make --no-print-directory check-TESTS CC src/eir.o CC src/textfile.o CC src/sdpd-database.o CC src/sdpd-service.o CC src/sdpd-request.o CC unit/test-avdtp.o CC unit/test-avctp.o CC unit/test-avrcp.o CC unit/test-hfp.o CC unit/test-gdbus-client.o CC unit/util.o CC unit/test-gobex-header.o CC unit/test-gobex-packet.o CC unit/test-gobex.o CC unit/test-gobex-transfer.o CC unit/test-gobex-apparam.o CC unit/test-lib.o CC unit/test-gatt.o CC unit/test-hog.o CC profiles/input/hog-lib.o CC profiles/scanparam/scpp.o CC profiles/battery/bas.o CC profiles/deviceinfo/dis.o CC unit/test-gattrib.o CC unit/test_mesh_crypto-test-mesh-crypto.o 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 CC unit/test-uhid.o CC unit/test-sdp.o CC android/avdtp.o CC android/avctp.o CC android/avrcp-lib.o src/eir.c: In function 'eir_parse': src/eir.c:326: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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from src/eir.c:22: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/scanparam/scpp.c:19: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-hfp.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:725:9: note: in expansion of macro 'define_test' 725 | define_test("/hfp/test_ustring_1", test_register, check_ustring_1, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/battery/bas.c:18: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:735:9: note: in expansion of macro 'define_test' 735 | define_test("/hfp/test_string_1", test_register, check_string_1, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-uhid.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avrcp-lib.c: In function 'parse_folder_list': 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from android/avrcp-lib.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:774:9: note: in expansion of macro 'define_hf_test' 774 | define_hf_test("/hfp_hf/test_send_command_3", test_hf_send_command, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avctp.c: In function 'main': 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-avctp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:814:9: note: in expansion of macro 'define_hf_test' 814 | define_hf_test("/hfp_hf/test_corrupted_2", test_hf_unsolicited, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:820:9: note: in expansion of macro 'define_hf_test' 820 | define_hf_test("/hfp_hf/test_empty", test_hf_robustness, NULL, NULL, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.c: In function 'main': 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, | ^~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-avdtp.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c: In function '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:788:9: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | 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:788:9: note: in expansion of macro 'define_test' 788 | define_test("/TP/SIG/SMG/BV-07-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-hog.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | 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:792:9: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ 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-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-gatt.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | 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:792:9: note: in expansion of macro 'define_test' 792 | define_test("/TP/SIG/SMG/BV-08-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avrcp.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:225:9: note: in expansion of macro 'define_test' 225 | 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:798:9: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:998:9: note: in expansion of macro 'define_test' 998 | define_test("/TP/MPS/BV-01-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:798:9: note: in expansion of macro 'define_test' 798 | define_test("/TP/SIG/SMG/BV-09-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-avrcp.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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-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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-crc 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:225:9: note: in expansion of macro 'define_test' 225 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1014:9: note: in expansion of macro 'define_test' 1014 | define_test("/TP/MPS/BV-03-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | 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:1019:9: note: in expansion of macro 'define_test' 1019 | define_test("/TP/MPS/BV-04-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ CCLD unit/test-ringbuf /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-gatt.c: In function 'main': /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:225:9: note: in expansion of macro 'define_test' 225 | define_test("/TP/HGRF/RH/BV-01-I", 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:2368:9: note: in expansion of macro 'define_test_client' 2368 | define_test_client("/TP/GAC/CL/BV-01-C", test_client, NULL, NULL, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-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:1044:9: note: in expansion of macro 'define_test' 1044 | define_test("/TP/MPS/BV-06-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-queue 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-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:1054:9: note: in expansion of macro 'define_test' 1054 | define_test("/TP/MPS/BV-07-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:838:9: note: in expansion of macro 'define_test' 838 | define_test("/TP/SIG/SMG/BV-15-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", 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: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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-uuid 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-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:1075:9: note: in expansion of macro 'define_test' 1075 | define_test("/TP/MPS/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:848:9: note: in expansion of macro 'define_test' 848 | define_test("/TP/SIG/SMG/BV-16-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", 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: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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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:270:9: note: in expansion of macro 'define_test' 270 | define_test("/TP/HGRF/RH/BV-08-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ profiles/deviceinfo/dis.c: In function 'bt_dis_new_primary': 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", 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: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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/deviceinfo/dis.c:17: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:859:9: note: in expansion of macro 'define_test' 859 | define_test("/TP/SIG/SMG/BV-17-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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); | ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from profiles/input/hog-lib.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:303:9: note: in expansion of macro 'define_test' 303 | define_test("/TP/HGRF/RH/BV-09-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/MCN/CB/BV-02-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-mgmt unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-apparam 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-uhid 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | 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:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | 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:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-19-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ android/avctp.c: In function 'avctp_send_req': /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-textfile unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avctp.c:1182:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1182 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from android/avctp.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-packet unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-eir 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:324:9: note: in expansion of macro 'define_test' 324 | 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:884:9: note: in expansion of macro 'define_test' 884 | define_test("/TP/SIG/SMG/BV-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:1158:9: note: in expansion of macro 'define_test' 1158 | define_test("/TP/MCN/CB/BV-05-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.c: In function 'main': /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from unit/test-sdp.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ android/avctp.c: In function 'avctp_send_browsing_req': /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avctp.c:1223:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1223 | pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); | ^~~ CCLD unit/test-ecc /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:76:31: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 76 | static struct test_data data; \ | ^~~~~~~~~ unit/test-hog.c:324:9: note: in expansion of macro 'define_test' 324 | define_test("/TP/HGRF/RH/BV-06-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | 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:1169:9: note: in expansion of macro 'define_test' 1169 | define_test("/TP/MCN/CB/BV-06-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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:357:9: note: in expansion of macro 'define_test' 357 | 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:1180:9: note: in expansion of macro 'define_test' 1180 | define_test("/TP/MCN/CB/BV-07-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ profiles/input/hog-lib.c: In function 'hog_attach_hog': /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1180:9: note: in expansion of macro 'define_test' 1180 | define_test("/TP/MCN/CB/BV-07-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-crypto 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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)); | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:357:9: note: in expansion of macro 'define_test' 357 | 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:1189:9: note: in expansion of macro 'define_test' 1189 | define_test("/TP/MCN/CB/BV-08-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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:913:9: note: in expansion of macro 'define_test' 913 | define_test("/TP/SIG/SMG/BV-21-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1200:9: note: in expansion of macro 'define_test' 1200 | define_test("/TP/MCN/CB/BV-09-C", test_server, | ^~~~~~~~~~~ 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1211:9: note: in expansion of macro 'define_test' 1211 | define_test("/TP/MCN/CB/BV-10-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:357:9: note: in expansion of macro 'define_test' 357 | define_test("/TP/HGCF/RH/BV-01-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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:73:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 73 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-hog.c:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | 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:927:9: note: in expansion of macro 'define_test' 927 | define_test("/TP/SIG/SMG/BV-22-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-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:1237:9: note: in expansion of macro 'define_test' 1237 | define_test("/TP/MCN/CB/BI-01-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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: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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", 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:2414:9: note: in expansion of macro 'define_test_server' 2414 | define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | define_test("/TP/HGRF/RH/BV-02-I", test_hog, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:400:9: note: in expansion of macro 'define_test' 400 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1267:9: note: in expansion of macro 'define_test' 1267 | define_test("/TP/MCN/CB/BI-04-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:894:9: note: in expansion of macro 'define_ss' 894 | define_ss("BI-02-C/UUID-128", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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-gatt.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", | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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", | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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", | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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", | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1278:9: note: in expansion of macro 'define_test' 1278 | define_test("/TP/MCN/CB/BI-05-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1303:9: note: in expansion of macro 'define_test' 1303 | define_test("/TP/MCN/SRC/BV-01-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:979:9: note: in expansion of macro 'define_test' 979 | define_test("/TP/SIG/SMG/BV-28-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:1309:9: note: in expansion of macro 'define_test' 1309 | define_test("/TP/MCN/SRC/BV-02-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:74:34: note: 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:926:9: note: in expansion of macro 'define_sa' 926 | define_sa("BV-03-C", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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:997:9: note: in expansion of macro 'define_test' 997 | define_test("/TP/SIG/SMG/BI-01-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-header unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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:1002:9: note: in expansion of macro 'define_test' 1002 | define_test("/TP/SIG/SMG/BI-03-C", test_server_0_sep, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1367:9: note: in expansion of macro 'define_test' 1367 | define_test("/TP/MCN/NP/BV-02-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1376:9: note: in expansion of macro 'define_test' 1376 | define_test("/TP/MCN/NP/BV-03-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD 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: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:1482:9: note: in expansion of macro 'define_test' 1482 | define_test("/TP/CON/BV-02-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:1080:9: note: in expansion of macro 'define_test' 1080 | define_test("/TP/SIG/SMG/BI-18-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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)); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1115:9: note: in expansion of macro 'define_test' 1115 | define_test("/TP/SIG/SMG/BI-21-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-sdp.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", | ^~~~~~~~~ CCLD unit/test-lib /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1154:9: note: in expansion of macro 'define_test' 1154 | define_test("/TP/SIG/SMG/BI-24-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~ 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", | ^~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1387:9: note: in expansion of macro 'define_ssa' 1387 | define_ssa("BV-01-C/UUID-16", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1573:9: note: in expansion of macro 'define_test' 1573 | define_test("/TP/PAS/BV-01-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1195:9: note: in expansion of macro 'define_test' 1195 | define_test("/TP/SIG/SMG/BI-27-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1606:9: note: in expansion of macro 'define_test' 1606 | define_test("/TP/PAS/BV-05-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ CCLD unit/test-hfp /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-mesh-crypto unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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-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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avctp unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1715:9: note: in expansion of macro 'define_test' 1715 | define_test("/TP/PAS/BI-04-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1334:9: note: in expansion of macro 'define_test' 1334 | define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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:2674:9: note: in expansion of macro 'define_test_client' 2674 | define_test_client("/TP/GAD/CL/BV-06-C/client-2", test_client, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1790:9: note: in expansion of macro 'define_test' 1790 | define_test("/TP/NFY/BV-01-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-avdtp.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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/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:1856:9: note: in expansion of macro 'define_test' 1856 | define_test("/TP/NFY/BV-08-C", test_server, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1901:9: note: in expansion of macro 'define_test' 1901 | define_test("/TP/BGN/BV-01-I", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:1980:9: note: in expansion of macro 'define_test' 1980 | define_test("/TP/VLH/BI-01-C", test_server, | ^~~~~~~~~~~ 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gobex-transfer 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:2007:9: note: in expansion of macro 'define_test' 2007 | define_test("/TP/VLH/BI-04-C", test_client, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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:75:35: note: 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:2106:9: note: in expansion of macro 'define_ssa' 2106 | define_ssa("BV-22-C/UUID-16", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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: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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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:76:35: note: 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-avrcp 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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:76:35: note: 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-crc unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gobex-packet unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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:2465:9: note: in expansion of macro 'define_brw' 2465 | define_brw("BV-01-C/UUID-128", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:2750:9: note: in expansion of macro 'define_test_de_attr' 2750 | define_test_de_attr("BOOL", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:2782:9: note: in expansion of macro 'define_test_de_attr' 2782 | define_test_de_attr("INT128", | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-sdp.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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-mgmt 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-textfile unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-queue 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:3225:9: note: in expansion of macro 'define_test_server' 3225 | define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-lib unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-mesh-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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In function 'avrcp_search', inlined from 'test_client' at unit/test-avrcp.c:879: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:3519:9: note: in expansion of macro 'define_test_client' 3519 | define_test_client("/TP/GAW/CL/BV-02-C/seclevel", test_client, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ android/avrcp-lib.c:3010:15: warning: 'strnlen' specified bound 255 exceeds source size 8 [-Wstringop-overread] 3010 | len = strnlen(string, UINT8_MAX); | ^ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-gdbus-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:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ PASS: unit/test-hog 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:105: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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, | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ unit/test-gatt.c:88:30: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 88 | const struct test_pdu pdus[] = { \ | ^~~~~~~~ unit/test-gatt.c:108: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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | 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", | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ CCLD unit/test-gatt PASS: unit/test-gobex-transfer PASS: unit/test-avdtp PASS: unit/test-avrcp PASS: unit/test-gatt ============================================================================ Testsuite summary for bluez 5.59 ============================================================================ # TOTAL: 26 # PASS: 26 # 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/lib/bluetooth/plugins' /bin/sh ./libtool --mode=install /usr/bin/install -c plugins/sixaxis.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' 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: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c lib/libbluetooth.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/system.d' /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' ./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' libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.so.3.19.5 /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.so.3.19.5 ./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' libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.5 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.5 libbluetooth.so.3; }; }) /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' libtool: install: (cd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib && { ln -s -f libbluetooth.so.3.19.5 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.5 libbluetooth.so; }; }) ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/rules.d' /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 plugins/sixaxis.la '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c lib/.libs/libbluetooth.lai /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/libbluetooth.la /usr/bin/install -c -m 644 completion/zsh/_bluetoothctl '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/zsh/site-functions' libtool: warning: remember to run 'libtool --finish /usr/lib' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' ./install-sh -c -d '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin' /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 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 tools/97-hid2hci.rules '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/rules.d' /bin/sh ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/home/buildozer/aports/main/bluez/pkg/bluez/lib/udev' /usr/bin/install -c -m 644 monitor/btmon.1 tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1 tools/hid2hci.1 '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/man/man1' libtool: install: /usr/bin/install -c src/bluetoothd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetoothd /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 obexd/src/obexd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/obexd 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 profiles/cups/bluetooth /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups/backend/bluetooth 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 mesh/bluetooth-meshd /home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/bluetooth-meshd libtool: warning: remember to run 'libtool --finish /usr/lib/bluetooth/plugins' libtool: install: /usr/bin/install -c tools/hid2hci /home/buildozer/aports/main/bluez/pkg/bluez/lib/udev/hid2hci 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-dbg*: Running split function dbg... >>> bluez-dbg*: Preparing subpackage bluez-dbg... >>> bluez-dbg*: Running postcheck for bluez-dbg >>> bluez-dev*: Running split function dev... >>> bluez-dev*: Preparing subpackage bluez-dev... >>> 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*: 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... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/btmgmt' -> '/home/buildozer/aports/main/bluez/pkg/bluez-btmgmt/usr/bin/btmgmt' >>> bluez-btmgmt*: Preparing subpackage bluez-btmgmt... >>> bluez-btmgmt*: Running postcheck for bluez-btmgmt >>> bluez-btmon*: Running split function btmon... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/btmon' -> '/home/buildozer/aports/main/bluez/pkg/bluez-btmon/usr/bin/btmon' >>> bluez-btmon*: Preparing subpackage bluez-btmon... >>> bluez-btmon*: Running postcheck for bluez-btmon >>> bluez-cups*: Running split function cups... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/cups' -> '/home/buildozer/aports/main/bluez/pkg/bluez-cups/usr/lib/cups' >>> bluez-cups*: Preparing subpackage bluez-cups... >>> bluez-cups*: Running postcheck for bluez-cups >>> bluez-deprecated*: Running split function deprecated... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/ciptool' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/ciptool' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/gatttool' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/gatttool' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hciattach' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/hciattach' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hciconfig' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/hciconfig' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hcidump' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/hcidump' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/hcitool' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/hcitool' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/rfcomm' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/rfcomm' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/sdptool' -> '/home/buildozer/aports/main/bluez/pkg/bluez-deprecated/usr/bin/sdptool' >>> bluez-deprecated*: Preparing subpackage bluez-deprecated... >>> 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... '/home/buildozer/aports/main/bluez/pkg/bluez/lib' -> '/home/buildozer/aports/main/bluez/pkg/bluez-hid2hci/lib' >>> bluez-hid2hci*: Preparing subpackage bluez-hid2hci... >>> bluez-hid2hci*: Running postcheck for bluez-hid2hci >>> bluez-meshctl*: Running split function meshctl... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/bin/meshctl' -> '/home/buildozer/aports/main/bluez/pkg/bluez-meshctl/usr/bin/meshctl' >>> bluez-meshctl*: Preparing subpackage bluez-meshctl... >>> bluez-meshctl*: Running postcheck for bluez-meshctl >>> bluez-obexd*: Running split function obexd... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/obexd' -> '/home/buildozer/aports/main/bluez/pkg/bluez-obexd/usr/lib/bluetooth/obexd' '/home/buildozer/aports/main/bluez/pkg/bluez/usr/share/dbus-1/services/org.bluez.obex.service' -> '/home/buildozer/aports/main/bluez/pkg/bluez-obexd/usr/share/dbus-1/services/org.bluez.obex.service' >>> bluez-obexd*: Preparing subpackage bluez-obexd... >>> bluez-obexd*: Running postcheck for bluez-obexd >>> bluez-plugins*: Running split function plugins... '/home/buildozer/aports/main/bluez/pkg/bluez/usr/lib/bluetooth/plugins/sixaxis.so' -> '/home/buildozer/aports/main/bluez/pkg/bluez-plugins/usr/lib/bluetooth/plugins/sixaxis.so' >>> bluez-plugins*: Preparing subpackage bluez-plugins... >>> 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-btmgmt*: Scanning shared objects >>> bluez-btmon*: Scanning shared objects >>> bluez-cups*: Scanning shared objects >>> bluez-dbg*: 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-ppc64le.so.1 so:libreadline.so.8 >>> bluez-btmgmt*: Package size: 212.0 KB >>> bluez-btmgmt*: Compressing data... >>> bluez-btmgmt*: Create checksum... >>> bluez-btmgmt*: Create bluez-btmgmt-5.59-r0.apk >>> bluez-btmon*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libudev.so.1 >>> bluez-btmon*: Package size: 784.0 KB >>> bluez-btmon*: Compressing data... >>> bluez-btmon*: Create checksum... >>> bluez-btmon*: Create bluez-btmon-5.59-r0.apk >>> bluez-cups*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 >>> bluez-cups*: Package size: 88.0 KB >>> bluez-cups*: Compressing data... >>> bluez-cups*: Create checksum... >>> bluez-cups*: Create bluez-cups-5.59-r0.apk >>> bluez-dbg*: Tracing dependencies... >>> bluez-dbg*: Package size: 12.5 MB >>> bluez-dbg*: Compressing data... >>> bluez-dbg*: Create checksum... >>> bluez-dbg*: Create bluez-dbg-5.59-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.59-r0.apk >>> bluez-deprecated*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libglib-2.0.so.0 so:libreadline.so.8 so:libudev.so.1 >>> bluez-deprecated*: Package size: 1.2 MB >>> bluez-deprecated*: Compressing data... >>> bluez-deprecated*: Create checksum... >>> bluez-deprecated*: Create bluez-deprecated-5.59-r0.apk >>> bluez-dev*: Tracing dependencies... bluez-libs=5.59-r0 pkgconfig >>> bluez-dev*: Package size: 188.0 KB >>> bluez-dev*: Compressing data... >>> bluez-dev*: Create checksum... >>> bluez-dev*: Create bluez-dev-5.59-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.59-r0.apk >>> bluez-hid2hci*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libudev.so.1 >>> bluez-hid2hci*: Package size: 88.0 KB >>> bluez-hid2hci*: Compressing data... >>> bluez-hid2hci*: Create checksum... >>> bluez-hid2hci*: Create bluez-hid2hci-5.59-r0.apk >>> bluez-libs*: Tracing dependencies... so:libc.musl-ppc64le.so.1 >>> bluez-libs*: Package size: 216.0 KB >>> bluez-libs*: Compressing data... >>> bluez-libs*: Create checksum... >>> bluez-libs*: Create bluez-libs-5.59-r0.apk >>> bluez-meshctl*: Tracing dependencies... dbus so:libc.musl-ppc64le.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: 272.0 KB >>> bluez-meshctl*: Compressing data... >>> bluez-meshctl*: Create checksum... >>> bluez-meshctl*: Create bluez-meshctl-5.59-r0.apk >>> bluez-obexd*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libicalvcal.so.3 >>> bluez-obexd*: Package size: 564.0 KB >>> bluez-obexd*: Compressing data... >>> bluez-obexd*: Create checksum... >>> bluez-obexd*: Create bluez-obexd-5.59-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.59-r0.apk >>> bluez-plugins*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libudev.so.1 >>> bluez-plugins*: Package size: 88.0 KB >>> bluez-plugins*: Compressing data... >>> bluez-plugins*: Create checksum... >>> bluez-plugins*: Create bluez-plugins-5.59-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.59-r0.apk >>> bluez*: Tracing dependencies... dbus so:libc.musl-ppc64le.so.1 so:libdbus-1.so.3 so:libglib-2.0.so.0 so:libjson-c.so.5 so:libreadline.so.8 >>> bluez*: Package size: 2.6 MB >>> bluez*: Compressing data... >>> bluez*: Create checksum... >>> bluez*: Create bluez-5.59-r0.apk >>> bluez: Build complete at Thu, 21 Sep 2023 20:31:49 +0000 elapsed time 0h 0m 55s >>> bluez: Cleaning up srcdir >>> bluez: Cleaning up pkgdir >>> bluez: Uninstalling dependencies... (1/115) Purging .makedepends-bluez (20230921.203055) (2/115) Purging dbus-openrc (1.14.10-r0) (3/115) Purging dbus-daemon-launch-helper (1.14.10-r0) (4/115) Purging dbus (1.14.10-r0) (5/115) Purging dbus-dev (1.14.10-r0) (6/115) Purging dbus-libs (1.14.10-r0) (7/115) Purging ell-dev (0.58-r0) (8/115) Purging ell (0.58-r0) (9/115) Purging eudev-dev (3.2.12-r4) (10/115) Purging eudev-openrc (3.2.12-r4) (11/115) Purging eudev (3.2.12-r4) (12/115) Purging udev-init-scripts-openrc (35-r1) (13/115) Purging udev-init-scripts (35-r1) (14/115) Purging eudev-libs (3.2.12-r4) (15/115) Purging json-c-dev (0.17-r0) (16/115) Purging json-c (0.17-r0) (17/115) Purging libical-dev (3.0.16-r4) (18/115) Purging libxml2-dev (2.11.5-r0) (19/115) Purging xz-dev (5.4.4-r0) (20/115) Purging gobject-introspection-dev (1.78.1-r0) (21/115) Purging cairo-dev (1.17.8-r2) (22/115) Purging cairo-tools (1.17.8-r2) (23/115) Purging xcb-util-dev (0.4.1-r3) (24/115) Purging util-macros (1.20.0-r0) (25/115) Purging xcb-util (0.4.1-r3) (26/115) Purging cairo-gobject (1.17.8-r2) (27/115) Purging cairo (1.17.8-r2) (28/115) Purging libical (3.0.16-r4) (29/115) Purging libtool (2.4.7-r3) (30/115) Purging libltdl (2.4.7-r3) (31/115) Purging py3-docutils-pyc (0.20.1-r0) (32/115) Purging py3-docutils (0.20.1-r0) (33/115) Purging readline-dev (8.2.1-r2) (34/115) Purging libhistory (8.2.1-r2) (35/115) Purging fontconfig-dev (2.14.2-r4) (36/115) Purging fontconfig (2.14.2-r4) (37/115) Purging freetype-dev (2.13.2-r0) (38/115) Purging freetype (2.13.2-r0) (39/115) Purging glib-dev (2.78.0-r0) (40/115) Purging bzip2-dev (1.0.8-r6) (41/115) Purging docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-deinstall (42/115) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (43/115) Purging gettext-dev (0.22.2-r0) (44/115) Purging xz (5.4.4-r0) (45/115) Purging gettext-asprintf (0.22.2-r0) (46/115) Purging gettext (0.22.2-r0) (47/115) Purging gettext-envsubst (0.22.2-r0) (48/115) Purging libxml2-utils (2.11.5-r0) (49/115) Purging libxslt (1.1.38-r1) (50/115) Purging gobject-introspection (1.78.1-r0) (51/115) Purging icu-dev (73.2-r2) (52/115) Purging kmod-libs (30-r4) (53/115) Purging libffi-dev (3.4.4-r3) (54/115) Purging linux-headers (6.5-r0) (55/115) Purging libgcrypt (1.10.2-r2) (56/115) Purging libgpg-error (1.47-r2) (57/115) Purging libpng-dev (1.6.40-r0) (58/115) Purging libpng (1.6.40-r0) (59/115) Purging libxext-dev (1.3.5-r3) (60/115) Purging libxext (1.3.5-r3) (61/115) Purging libxml2 (2.11.5-r0) (62/115) Purging libxrender-dev (0.9.11-r4) (63/115) Purging libxrender (0.9.11-r4) (64/115) Purging pcre2-dev (10.42-r1) (65/115) Purging libedit-dev (20230828.3.1-r3) (66/115) Purging bsd-compat-headers (0.7.2-r5) (67/115) Purging ncurses-dev (6.4_p20230722-r0) (68/115) Purging libncurses++ (6.4_p20230722-r0) (69/115) Purging zlib-dev (1.3-r0) (70/115) Purging libpcre2-16 (10.42-r1) (71/115) Purging libpcre2-32 (10.42-r1) (72/115) Purging pixman-dev (0.42.2-r2) (73/115) Purging pixman (0.42.2-r2) (74/115) Purging python3-pyc (3.11.5-r0) (75/115) Purging python3-pycache-pyc0 (3.11.5-r0) (76/115) Purging xcb-proto-pyc (1.16.0-r0) (77/115) Purging pyc (0.1-r0) (78/115) Purging util-linux-dev (2.39.2-r0) (79/115) Purging libfdisk (2.39.2-r0) (80/115) Purging libsmartcols (2.39.2-r0) (81/115) Purging libuuid (2.39.2-r0) (82/115) Purging brotli-dev (1.0.9-r15) (83/115) Purging brotli (1.0.9-r15) (84/115) Purging expat-dev (2.5.0-r2) (85/115) Purging expat (2.5.0-r2) (86/115) Purging libx11-dev (1.8.6-r0) (87/115) Purging xtrans (1.5.0-r0) (88/115) Purging libx11 (1.8.6-r0) (89/115) Purging libxcb-dev (1.16-r0) (90/115) Purging libxcb (1.16-r0) (91/115) Purging xcb-proto (1.16.0-r0) (92/115) Purging python3 (3.11.5-r0) (93/115) Purging gdbm (1.23-r1) (94/115) Purging gettext-libs (0.22.2-r0) (95/115) Purging glib (2.78.0-r0) (96/115) Purging icu (73.2-r2) (97/115) Purging icu-libs (73.2-r2) (98/115) Purging icu-data-en (73.2-r2) (99/115) Purging libmount (2.39.2-r0) (100/115) Purging libblkid (2.39.2-r0) (101/115) Purging libxdmcp-dev (1.1.4-r3) (102/115) Purging libxdmcp (1.1.4-r3) (103/115) Purging libbsd (0.11.7-r3) (104/115) Purging libffi (3.4.4-r3) (105/115) Purging libformw (6.4_p20230722-r0) (106/115) Purging libintl (0.22.2-r0) (107/115) Purging libmd (1.1.0-r0) (108/115) Purging libmenuw (6.4_p20230722-r0) (109/115) Purging libpanelw (6.4_p20230722-r0) (110/115) Purging libxau-dev (1.0.11-r3) (111/115) Purging libxau (1.0.11-r3) (112/115) Purging mpdecimal (2.5.1-r2) (113/115) Purging readline (8.2.1-r2) (114/115) Purging sqlite-libs (3.43.1-r0) (115/115) Purging xorgproto (2023.2-r0) Executing busybox-1.36.1-r8.trigger OK: 264 MiB in 107 packages >>> bluez: Updating the main/ppc64le repository index... >>> bluez: Signing the index...