>>> libgweather: Building community/libgweather 40.0-r0 (using abuild 3.9.0_rc2-r1) started Fri, 22 Oct 2021 11:20:02 +0000 >>> libgweather: Checking sanity of /home/buildozer/aports/community/libgweather/APKBUILD... >>> libgweather: Analyzing dependencies... >>> libgweather: Installing for build: build-base tzdata gsettings-desktop-schemas gtk+3.0-dev libsoup-dev libxml2-dev vala glib-dev geocode-glib-dev gobject-introspection-dev libxml2-utils gtk-doc glade-dev meson ninja py3-gobject3 (1/260) Installing tzdata (2021e-r0) (2/260) Installing gsettings-desktop-schemas (40.0-r0) (3/260) Installing libffi (3.4.2-r1) (4/260) Installing libintl (0.21-r0) (5/260) Installing libblkid (2.37.2-r1) (6/260) Installing libmount (2.37.2-r1) (7/260) Installing pcre (8.45-r1) (8/260) Installing glib (2.70.0-r1) (9/260) Installing atk (2.36.0-r0) (10/260) Installing libbz2 (1.0.8-r1) (11/260) Installing gdbm (1.20-r2) (12/260) Installing xz-libs (5.2.5-r0) (13/260) Installing mpdecimal (2.5.1-r1) (14/260) Installing readline (8.1.1-r0) (15/260) Installing sqlite-libs (3.36.0-r0) (16/260) Installing python3 (3.9.7-r3) (17/260) Installing gettext-asprintf (0.21-r0) (18/260) Installing libunistring (0.9.10-r1) (19/260) Installing gettext-libs (0.21-r0) (20/260) Installing libxml2 (2.9.12-r1) (21/260) Installing gettext (0.21-r0) (22/260) Installing gettext-dev (0.21-r0) (23/260) Installing bzip2-dev (1.0.8-r1) (24/260) Installing libxml2-utils (2.9.12-r1) (25/260) Installing libgpg-error (1.42-r1) (26/260) Installing libgcrypt (1.9.4-r0) (27/260) Installing libxslt (1.1.34-r1) (28/260) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (29/260) Installing docbook-xsl (1.79.2-r3) Executing docbook-xsl-1.79.2-r3.post-install (30/260) Installing linux-headers (5.10.41-r0) (31/260) Installing libffi-dev (3.4.2-r1) (32/260) Installing libpcre16 (8.45-r1) (33/260) Installing libpcre32 (8.45-r1) (34/260) Installing libpcrecpp (8.45-r1) (35/260) Installing pcre-dev (8.45-r1) (36/260) Installing util-linux (2.37.2-r1) (37/260) Installing libeconf (0.4.1-r0) (38/260) Installing libuuid (2.37.2-r1) (39/260) Installing libfdisk (2.37.2-r1) (40/260) Installing libsmartcols (2.37.2-r1) (41/260) Installing util-linux-misc (2.37.2-r1) (42/260) Installing linux-pam (1.5.2-r0) (43/260) Installing runuser (2.37.2-r1) (44/260) Installing hexdump (2.37.2-r1) (45/260) Installing uuidgen (2.37.2-r1) (46/260) Installing blkid (2.37.2-r1) (47/260) Installing sfdisk (2.37.2-r1) (48/260) Installing mcookie (2.37.2-r1) (49/260) Installing wipefs (2.37.2-r1) (50/260) Installing cfdisk (2.37.2-r1) (51/260) Installing flock (2.37.2-r1) (52/260) Installing lsblk (2.37.2-r1) (53/260) Installing libcap-ng (0.8.2-r0) (54/260) Installing setpriv (2.37.2-r1) (55/260) Installing logger (2.37.2-r1) (56/260) Installing partx (2.37.2-r1) (57/260) Installing findmnt (2.37.2-r1) (58/260) Installing util-linux-dev (2.37.2-r1) (59/260) Installing zlib-dev (1.2.11-r3) (60/260) Installing glib-dev (2.70.0-r1) (61/260) Installing atk-dev (2.36.0-r0) (62/260) Installing shared-mime-info (2.1-r0) (63/260) Installing libjpeg-turbo (2.1.1-r0) (64/260) Installing libpng (1.6.37-r1) (65/260) Installing libwebp (1.2.1-r0) (66/260) Installing tiff (4.3.0-r0) (67/260) Installing gdk-pixbuf (2.42.6-r0) (68/260) Installing libpng-dev (1.6.37-r1) (69/260) Installing libjpeg-turbo-dev (2.1.1-r0) (70/260) Installing libwebp-dev (1.2.1-r0) (71/260) Installing xz-dev (5.2.5-r0) (72/260) Installing zstd-dev (1.5.0-r0) (73/260) Installing libtiffxx (4.3.0-r0) (74/260) Installing tiff-dev (4.3.0-r0) (75/260) Installing gdk-pixbuf-dev (2.42.6-r0) (76/260) Installing libxau (1.0.9-r0) (77/260) Installing xorgproto (2021.5-r0) (78/260) Installing libxau-dev (1.0.9-r0) (79/260) Installing xcb-proto (1.14.1-r2) (80/260) Installing libmd (1.0.3-r0) (81/260) Installing libbsd (0.11.3-r1) (82/260) Installing libxdmcp (1.1.3-r0) (83/260) Installing libxcb (1.14-r2) (84/260) Installing libxdmcp-dev (1.1.3-r0) (85/260) Installing libxcb-dev (1.14-r2) (86/260) Installing xtrans (1.4.0-r1) (87/260) Installing libx11 (1.7.2-r0) (88/260) Installing libx11-dev (1.7.2-r0) (89/260) Installing libepoxy (1.5.9-r0) (90/260) Installing libpciaccess (0.16-r0) (91/260) Installing libdrm (2.4.107-r0) (92/260) Installing libpciaccess-dev (0.16-r0) (93/260) Installing libdrm-dev (2.4.107-r0) (94/260) Installing libxext (1.3.4-r0) (95/260) Installing libxext-dev (1.3.4-r0) (96/260) Installing libxdamage (1.1.5-r1) (97/260) Installing libxfixes (6.0.0-r0) (98/260) Installing libxfixes-dev (6.0.0-r0) (99/260) Installing libxdamage-dev (1.1.5-r1) (100/260) Installing libxshmfence (1.3-r1) (101/260) Installing libxshmfence-dev (1.3-r1) (102/260) Installing mesa (21.2.4-r1) (103/260) Installing wayland-libs-server (1.19.0-r1) (104/260) Installing mesa-gbm (21.2.4-r1) (105/260) Installing mesa-glapi (21.2.4-r1) (106/260) Installing wayland-libs-client (1.19.0-r1) (107/260) Installing mesa-egl (21.2.4-r1) (108/260) Installing libxxf86vm (1.1.4-r2) (109/260) Installing mesa-gl (21.2.4-r1) (110/260) Installing mesa-gles (21.2.4-r1) (111/260) Installing llvm12-libs (12.0.1-r0) (112/260) Installing mesa-osmesa (21.2.4-r1) (113/260) Installing mesa-xatracker (21.2.4-r1) (114/260) Installing libxxf86vm-dev (1.1.4-r2) (115/260) Installing mesa-dev (21.2.4-r1) (116/260) Installing libepoxy-dev (1.5.9-r0) (117/260) Installing libxi (1.8-r0) (118/260) Installing libxi-dev (1.8-r0) (119/260) Installing libxinerama (1.1.4-r1) (120/260) Installing libxinerama-dev (1.1.4-r1) (121/260) Installing wayland-protocols (1.23-r0) (122/260) Installing wayland-libs-cursor (1.19.0-r1) (123/260) Installing xkeyboard-config (2.34-r0) (124/260) Installing libxkbcommon (1.3.1-r0) (125/260) Installing libxkbcommon-x11 (1.3.1-r0) (126/260) Installing libxml2-dev (2.9.12-r1) (127/260) Installing libxkbcommon-dev (1.3.1-r0) (128/260) Installing hicolor-icon-theme (0.17-r1) (129/260) Installing gtk-update-icon-cache (2.24.33-r0) (130/260) Installing libxcomposite (0.4.5-r0) (131/260) Installing libxrender (0.9.10-r3) (132/260) Installing libxcursor (1.2.0-r0) (133/260) Installing libxrandr (1.5.2-r1) (134/260) Installing libxtst (1.2.3-r3) (135/260) Installing dbus-libs (1.12.20-r2) (136/260) Installing at-spi2-core (2.42.0-r0) (137/260) Installing at-spi2-atk (2.38.0-r0) (138/260) Installing freetype (2.11.0-r0) (139/260) Installing fontconfig (2.13.1-r4) (140/260) Installing pixman (0.40.0-r3) (141/260) Installing cairo (1.16.0-r3) (142/260) Installing cairo-gobject (1.16.0-r3) (143/260) Installing avahi-libs (0.8-r5) (144/260) Installing nettle (3.7.3-r0) (145/260) Installing p11-kit (0.24.0-r1) (146/260) Installing libtasn1 (4.17.0-r0) (147/260) Installing gnutls (3.7.1-r0) (148/260) Installing cups-libs (2.3.3-r4) (149/260) Installing fribidi (1.0.11-r0) (150/260) Installing graphite2 (1.3.14-r0) (151/260) Installing harfbuzz (3.0.0-r1) (152/260) Installing libxft (2.3.4-r0) (153/260) Installing pango (1.48.10-r0) (154/260) Installing wayland-libs-egl (1.19.0-r1) (155/260) Installing gtk+3.0 (3.24.30-r0) Executing gtk+3.0-3.24.30-r0.post-install (156/260) Installing dbus-dev (1.12.20-r2) (157/260) Installing libxtst-dev (1.2.3-r3) (158/260) Installing at-spi2-core-dev (2.42.0-r0) (159/260) Installing at-spi2-atk-dev (2.38.0-r0) (160/260) Installing cairo-tools (1.16.0-r3) (161/260) Installing expat-dev (2.4.1-r0) (162/260) Installing brotli-dev (1.0.9-r5) (163/260) Installing freetype-dev (2.11.0-r0) (164/260) Installing fontconfig-dev (2.13.1-r4) (165/260) Installing libxrender-dev (0.9.10-r3) (166/260) Installing pixman-dev (0.40.0-r3) (167/260) Installing util-macros (1.19.3-r0) (168/260) Installing xcb-util (0.4.0-r3) (169/260) Installing xcb-util-dev (0.4.0-r3) (170/260) Installing cairo-dev (1.16.0-r3) (171/260) Installing fribidi-dev (1.0.11-r0) (172/260) Installing pango-tools (1.48.10-r0) (173/260) Installing icu-libs (69.1-r0) (174/260) Installing harfbuzz-icu (3.0.0-r1) (175/260) Installing graphite2-dev (1.3.14-r0) (176/260) Installing icu (69.1-r0) (177/260) Installing icu-dev (69.1-r0) (178/260) Installing harfbuzz-dev (3.0.0-r1) (179/260) Installing libxft-dev (2.3.4-r0) (180/260) Installing pango-dev (1.48.10-r0) (181/260) Installing wayland-dev (1.19.0-r1) (182/260) Installing libxcomposite-dev (0.4.5-r0) (183/260) Installing libxcursor-dev (1.2.0-r0) (184/260) Installing libxrandr-dev (1.5.2-r1) (185/260) Installing gtk+3.0-dev (3.24.30-r0) (186/260) Installing libproxy (0.4.17-r1) (187/260) Installing glib-networking (2.70.0-r0) (188/260) Installing libidn2 (2.3.2-r0) (189/260) Installing libpsl (0.21.1-r0) (190/260) Installing libsoup (2.74.0-r0) (191/260) Installing libpsl-dev (0.21.1-r0) (192/260) Installing sqlite-dev (3.36.0-r0) (193/260) Installing libsoup-dev (2.74.0-r0) (194/260) Installing libice (1.0.10-r0) (195/260) Installing libsm (1.2.3-r0) (196/260) Installing libice-dev (1.0.10-r0) (197/260) Installing libsm-dev (1.2.3-r0) (198/260) Installing libgmpxx (6.2.1-r0) (199/260) Installing gmp-dev (6.2.1-r0) (200/260) Installing python3-dev (3.9.7-r3) (201/260) Installing libltdl (2.4.6-r7) (202/260) Installing graphviz (2.49.2-r0) (203/260) Installing graphviz-dev (2.49.2-r0) (204/260) Installing vala (0.54.2-r0) (205/260) Installing json-glib (1.6.6-r0) (206/260) Installing geocode-glib (3.26.2-r0) (207/260) Installing geocode-glib-dev (3.26.2-r0) (208/260) Installing bash (5.1.8-r0) Executing bash-5.1.8-r0.post-install (209/260) Installing libtool (2.4.6-r7) (210/260) Installing gobject-introspection (1.70.0-r1) (211/260) Installing gobject-introspection-dev (1.70.0-r1) (212/260) Installing py3-six (1.16.0-r0) (213/260) Installing py3-pygments (2.10.0-r0) (214/260) Installing gtk-doc (1.33.2-r2) (215/260) Installing nspr (4.32-r0) (216/260) Installing mozjs78 (78.15.0-r2) (217/260) Installing gjs (1.70.0-r0) (218/260) Installing libcap (2.59-r0) (219/260) Installing bubblewrap (0.5.0-r0) (220/260) Installing dbus (1.12.20-r2) Executing dbus-1.12.20-r2.pre-install Executing dbus-1.12.20-r2.post-install (221/260) Installing xdg-dbus-proxy (0.1.2-r0) (222/260) Installing gcr-base (3.40.0-r0) (223/260) Installing gnome-keyring (40.0-r0) (224/260) Installing libwpe (1.12.0-r0) (225/260) Installing libwpebackend-fdo (1.8.3-r0) (226/260) Installing aspell-libs (0.60.8-r1) (227/260) Installing nuspell (5.0.0-r1) (228/260) Installing enchant2 (2.3.1-r1) (229/260) Installing libxv (1.0.11-r2) (230/260) Installing alsa-lib (1.2.5.1-r1) (231/260) Installing cdparanoia-libs (10.2-r9) (232/260) Installing graphene (1.10.6-r1) (233/260) Installing gstreamer (1.18.5-r0) (234/260) Installing libogg (1.3.5-r0) (235/260) Installing opus (1.3.1-r1) (236/260) Installing orc (0.4.32-r0) (237/260) Installing libtheora (1.1.1-r16) (238/260) Installing libvorbis (1.3.7-r0) (239/260) Installing gst-plugins-base (1.18.5-r0) (240/260) Installing hyphen (2.8.8-r1) (241/260) Installing lcms2 (2.12-r1) (242/260) Installing libevdev (1.11.0-r1) (243/260) Installing eudev-libs (3.2.10-r1) (244/260) Installing libgudev (237-r0) (245/260) Installing libmanette (0.2.6-r1) (246/260) Installing libnotify (0.7.9-r1) (247/260) Installing openjpeg (2.4.0-r2) (248/260) Installing libseccomp (2.5.2-r0) (249/260) Installing libsecret (0.20.4-r1) (250/260) Installing libwoff2common (1.0.2-r1) (251/260) Installing libwoff2enc (1.0.2-r1) (252/260) Installing webkit2gtk (2.34.0-r1) (253/260) Installing glade (3.38.2-r2) (254/260) Installing glade-dev (3.38.2-r2) (255/260) Installing samurai (1.2-r1) (256/260) Installing meson (0.59.2-r0) (257/260) Installing py3-gobject3 (3.42.0-r1) (258/260) Installing .makedepends-libgweather (20211022.112013) (259/260) Installing util-linux-openrc (2.37.2-r1) (260/260) Installing dbus-openrc (1.12.20-r2) Executing busybox-1.34.1-r1.trigger Executing glib-2.70.0-r1.trigger Executing shared-mime-info-2.1-r0.trigger Executing gdk-pixbuf-2.42.6-r0.trigger Executing gtk-update-icon-cache-2.24.33-r0.trigger Executing graphviz-2.49.2-r0.trigger Executing dbus-1.12.20-r2.trigger OK: 869 MiB in 349 packages >>> libgweather: Cleaning up srcdir >>> libgweather: Cleaning up pkgdir >>> libgweather: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/libgweather-40.0.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libgweather: Fetching https://download.gnome.org/sources/libgweather/40/libgweather-40.0.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 2641k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2641k 100 2641k 0 0 3109k 0 --:--:-- --:--:-- --:--:-- 9234k >>> libgweather: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/libgweather-40.0.tar.xz >>> libgweather: Checking sha512sums... libgweather-40.0.tar.xz: OK >>> libgweather: Unpacking /var/cache/distfiles/v3.15/libgweather-40.0.tar.xz... The Meson build system Version: 0.59.2 Source dir: /home/buildozer/aports/community/libgweather/src/libgweather-40.0 Build dir: /home/buildozer/aports/community/libgweather/src/libgweather-40.0/output Build type: native build Project name: libgweather Project version: 40.0 C compiler for the host machine: gcc (gcc 10.3.1 "gcc (Alpine 10.3.1_git20210921) 10.3.1 20210921") C linker for the host machine: gcc ld.bfd 2.37 Host machine cpu family: x86 Host machine cpu: i686 Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency gtk+-3.0 found: YES 3.24.30 Run-time dependency gio-2.0 found: YES 2.70.0 Run-time dependency libsoup-2.4 found: YES 2.74.0 Run-time dependency libxml-2.0 found: YES 2.9.12 Run-time dependency geocode-glib-1.0 found: YES 3.26.2 Library m found: YES Program pylint-3 pylint3 pylint found: NO Checking whether type "struct tm" has member "tm_gmtoff" : YES Header has symbol "timezone" : YES Header has symbol "_NL_MEASUREMENT_MEASUREMENT" : NO Configuring config.h using configuration Run-time dependency gladeui-2.0 found: YES 3.38.2 Program xmllint found: YES (/usr/bin/xmllint) Program gen_locations_variant.py found: YES (/home/buildozer/aports/community/libgweather/src/libgweather-40.0/data/gen_locations_variant.py) Compiler for C supports link arguments -Wl,--version-script,/home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/libgweather.map: YES Configuring gweather-version.h using configuration Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Run-time dependency gobject-introspection-1.0 found: YES 1.70.0 Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached) Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached) Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Program vapigen found: YES (/usr/bin/vapigen) Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Configuring version.xml using configuration Run-time dependency glib-2.0 found: YES 2.70.0 Dependency gtk+-3.0 found: YES 3.24.30 (cached) Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan) Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj) Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb) Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml) Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref) Program meson/meson_post_install.py found: YES (/home/buildozer/aports/community/libgweather/src/libgweather-40.0/meson/meson_post_install.py) Build targets in project: 22 Found ninja-1.9 at /usr/bin/ninja ninja: entering directory 'output' [1/51] Generating org.gnome.GWeather.enums.xml with a custom command (wrapped by meson to capture output) [2/51] Generating gweather-enum-types.h with a custom command (wrapped by meson to capture output) [3/51] Generating locations-db with a custom command [4/51] Compiling C object libgweather/test_weather.p/test_weather.c.o [5/51] Compiling C object libgweather/test_sun_moon.p/weather-moon.c.o [6/51] Compiling C object libgweather/test_sun_moon.p/weather-sun.c.o [7/51] Compiling C object libgweather/test_sun_moon.p/test_sun_moon.c.o [8/51] Compiling C object libgweather/test_metar.p/gweather-timezone-menu.c.o [9/51] Compiling C object libgweather/test_metar.p/gweather-location-entry.c.o [10/51] Compiling C object libgweather/test_metar.p/gweather-timezone.c.o [11/51] Compiling C object libgweather/test_metar.p/gweather-location.c.o [12/51] Compiling C object libgweather/test_metar.p/weather-moon.c.o [13/51] Compiling C object libgweather/test_metar.p/weather-sun.c.o [14/51] Compiling C object libgweather/test_metar.p/weather-owm.c.o [15/51] Compiling C object libgweather/test_metar.p/weather-metno.c.o [16/51] Compiling C object libgweather/test_metar.p/weather-iwin.c.o [17/51] Compiling C object libgweather/test_metar.p/weather-metar.c.o [18/51] Compiling C object libgweather/test_metar.p/gweather-weather.c.o [19/51] Compiling C object libgweather/test_metar.p/gweather-private.c.o [20/51] Compiling C object libgweather/test_metar.p/gweather.c.o [21/51] Compiling C object libgweather/test_metar.p/test_metar.c.o [22/51] Compiling C object libgweather/test_libgweather.p/test_libgweather.c.o [23/51] Compiling C object libgweather/test_locations_utc.p/test_locations_utc.c.o [24/51] Compiling C object libgweather/test_locations.p/test_locations.c.o [25/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather-timezone-menu.c.o [26/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather-location-entry.c.o [27/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather-timezone.c.o [28/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather-location.c.o [29/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/weather-moon.c.o [30/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/weather-sun.c.o ../libgweather/test_weather.c: In function 'find_loc_children': ../libgweather/test_weather.c:22:5: warning: 'gweather_location_get_children' is deprecated: Use 'gweather_location_next_child' instead [-Wdeprecated-declarations] 22 | children = gweather_location_get_children (location); | ^~~~~~~~ In file included from ../libgweather/gweather-weather.h:28, from ../libgweather/test_weather.c:3: ../libgweather/gweather-location.h:67:24: note: declared here 67 | GWeatherLocation **gweather_location_get_children (GWeatherLocation *loc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [31/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/weather-owm.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [32/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/weather-metno.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [33/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/weather-iwin.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [34/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/weather-metar.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [35/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather-weather.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [36/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather-private.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [37/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/gweather.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [38/51] Generating gweather-enum-types.c with a custom command (wrapped by meson to capture output) In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-owm.c: In function 'date_to_time_t': ../libgweather/weather-owm.c:145:5: warning: 'g_time_zone_new' is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 145 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-metno.c: In function 'date_to_time_t': ../libgweather/weather-metno.c:134:5: warning: 'g_time_zone_new' is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 134 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-iwin.c: In function 'parseForecastXml': ../libgweather/weather-iwin.c:103:37: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 103 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../libgweather/weather-iwin.c:105:37: warning: 'g_time_val_from_iso8601' is deprecated: Use 'g_date_time_new_from_iso8601' instead [-Wdeprecated-declarations] 105 | if (g_time_val_from_iso8601 ((const char *)val, &tv)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:89, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtimer.h:70:10: note: declared here 70 | gboolean g_time_val_from_iso8601 (const gchar *iso_date, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:11, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-location-entry.c: In function 'gweather_location_entry_init': ../libgweather/gweather-location-entry.c:111:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 111 | priv = entry->priv = G_TYPE_INSTANCE_GET_PRIVATE (entry, GWEATHER_TYPE_LOCATION_ENTRY, GWeatherLocationEntryPrivate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-location-entry.c: In function 'gweather_location_entry_class_init': ../libgweather/gweather-location-entry.c:249:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 249 | g_type_class_add_private (location_entry_class, sizeof (GWeatherLocationEntryPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:27, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here 1346 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-timezone-menu.c: In function 'insert_locations': ../libgweather/gweather-timezone-menu.c:237:2: warning: 'gweather_location_get_children' is deprecated: Use 'gweather_location_next_child' instead [-Wdeprecated-declarations] 237 | children = gweather_location_get_children (loc); | ^~~~~~~~ In file included from ../libgweather/gweather-timezone-menu.h:29, from ../libgweather/gweather-timezone-menu.c:25: ../libgweather/gweather-location.h:67:24: note: declared here 67 | GWeatherLocation **gweather_location_get_children (GWeatherLocation *loc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-timezone-menu.c: In function 'insert_locations': ../libgweather/gweather-timezone-menu.c:237:2: warning: 'gweather_location_get_children' is deprecated: Use 'gweather_location_next_child' instead [-Wdeprecated-declarations] 237 | children = gweather_location_get_children (loc); | ^~~~~~~~ In file included from ../libgweather/gweather-timezone-menu.h:29, from ../libgweather/gweather-timezone-menu.c:25: ../libgweather/gweather-location.h:67:24: note: declared here 67 | GWeatherLocation **gweather_location_get_children (GWeatherLocation *loc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-owm.c: In function 'date_to_time_t': ../libgweather/weather-owm.c:145:5: warning: 'g_time_zone_new' is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 145 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-location-entry.c: In function 'gweather_location_entry_init': ../libgweather/gweather-location-entry.c:111:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 111 | priv = entry->priv = G_TYPE_INSTANCE_GET_PRIVATE (entry, GWEATHER_TYPE_LOCATION_ENTRY, GWeatherLocationEntryPrivate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-location-entry.c: In function 'gweather_location_entry_class_init': ../libgweather/gweather-location-entry.c:249:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 249 | g_type_class_add_private (location_entry_class, sizeof (GWeatherLocationEntryPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:27, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here 1346 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-metno.c: In function 'date_to_time_t': ../libgweather/weather-metno.c:134:5: warning: 'g_time_zone_new' is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 134 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ [39/51] Compiling C object libgweather/test_metar.p/meson-generated_.._gweather-enum-types.c.o [40/51] Compiling C object libgweather/libgweather-3.so.16.0.0.p/meson-generated_.._gweather-enum-types.c.o In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-iwin.c: In function 'parseForecastXml': ../libgweather/weather-iwin.c:103:37: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 103 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../libgweather/weather-iwin.c:105:37: warning: 'g_time_val_from_iso8601' is deprecated: Use 'g_date_time_new_from_iso8601' instead [-Wdeprecated-declarations] 105 | if (g_time_val_from_iso8601 ((const char *)val, &tv)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:89, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtimer.h:70:10: note: declared here 70 | gboolean g_time_val_from_iso8601 (const gchar *iso_date, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: ../libgweather/gweather-location.c: In function '_gweather_location_reset_world': ../libgweather/gweather-location.c:175:15: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'gsize' {aka 'unsigned int'} [-Wformat=] 175 | g_warning ("Location with index %li and name %s is still referenced!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | i, gweather_location_get_name (g_ptr_array_index (world_db->locations, i))); | ~ | | | gsize {aka unsigned int} /usr/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro 'g_warning' 348 | __VA_ARGS__) | ^~~~~~~~~~~ ../libgweather/gweather-location.c:175:38: note: format string is defined here 175 | g_warning ("Location with index %li and name %s is still referenced!", | ~~^ | | | long int | %i In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: ../libgweather/gweather-location.c:182:15: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'gsize' {aka 'unsigned int'} [-Wformat=] 182 | g_warning ("Timezone with index %li and tzid %s is still referenced!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | i, gweather_timezone_get_tzid (g_ptr_array_index (world_db->timezones, i))); | ~ | | | gsize {aka unsigned int} /usr/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro 'g_warning' 348 | __VA_ARGS__) | ^~~~~~~~~~~ ../libgweather/gweather-location.c:182:38: note: format string is defined here 182 | g_warning ("Timezone with index %li and tzid %s is still referenced!", | ~~^ | | | long int | %i In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: ../libgweather/gweather-location.c: In function '_gweather_location_reset_world': ../libgweather/gweather-location.c:175:15: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'gsize' {aka 'unsigned int'} [-Wformat=] 175 | g_warning ("Location with index %li and name %s is still referenced!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | i, gweather_location_get_name (g_ptr_array_index (world_db->locations, i))); | ~ | | | gsize {aka unsigned int} /usr/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro 'g_warning' 348 | __VA_ARGS__) | ^~~~~~~~~~~ ../libgweather/gweather-location.c:175:38: note: format string is defined here 175 | g_warning ("Location with index %li and name %s is still referenced!", | ~~^ | | | long int | %i In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: ../libgweather/gweather-location.c:182:15: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'gsize' {aka 'unsigned int'} [-Wformat=] 182 | g_warning ("Timezone with index %li and tzid %s is still referenced!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | i, gweather_timezone_get_tzid (g_ptr_array_index (world_db->timezones, i))); | ~ | | | gsize {aka unsigned int} /usr/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro 'g_warning' 348 | __VA_ARGS__) | ^~~~~~~~~~~ ../libgweather/gweather-location.c:182:38: note: format string is defined here 182 | g_warning ("Timezone with index %li and tzid %s is still referenced!", | ~~^ | | | long int | %i In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_to_gvariant': ../libgweather/gweather-db.h:250:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_to_gvariant': ../libgweather/gweather-db.h:258:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'Db_variant_dup_child_to_gvariant': ../libgweather/gweather-db.h:288:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_i18n_dup_to_gvariant': ../libgweather/gweather-db.h:417:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofstring_dup_to_gvariant': ../libgweather/gweather-db.h:533:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_timezone_dup_to_gvariant': ../libgweather/gweather-db.h:672:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_coordinate_dup_to_gvariant': ../libgweather/gweather-db.h:792:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_arrayofuint16_dup_to_gvariant': ../libgweather/gweather-db.h:898:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_location_dup_to_gvariant': ../libgweather/gweather-db.h:1007:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_country_dup_to_gvariant': ../libgweather/gweather-db.h:1309:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_loc_by_metar_dup_to_gvariant': ../libgweather/gweather-db.h:1504:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_timezones_dup_to_gvariant': ../libgweather/gweather-db.h:1699:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_arrayof_location_dup_to_gvariant': ../libgweather/gweather-db.h:1889:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function 'db_world_dup_to_gvariant': ../libgweather/gweather-db.h:2009:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [41/51] Linking target libgweather/libgweather-3.so.16.0.0 [42/51] Generating GWeather-3.0.gir with a custom command [43/51] Generating symbol file libgweather/libgweather-3.so.16.0.0.p/libgweather-3.so.16.0.0.symbols [44/51] Linking target libgweather/test_weather [45/51] Linking target libgweather/test_sun_moon [46/51] Linking target libgweather/test_metar [47/51] Linking target libgweather/test_libgweather [48/51] Linking target libgweather/test_locations_utc [49/51] Linking target libgweather/test_locations /usr/include/bits/alltypes.h:51: syntax error, unexpected identifier in '# 51 "/usr/include/bits/alltypes.h" 3 4' at '_Alignas' /usr/include/bits/alltypes.h:51: syntax error, unexpected '}' in '# 51 "/usr/include/bits/alltypes.h" 3 4' at '}' g-ir-scanner: link: gcc -o /home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/tmp-introspecta72u8aye/GWeather-3.0 -Os -fomit-frame-pointer -Os -fomit-frame-pointer /home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/tmp-introspecta72u8aye/GWeather-3.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/libgweather -Wl,-rpath,/home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/libgweather -lgweather-3 -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lsoup-2.4 -lxml2 -lgeocode-glib -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lintl [50/51] Generating gweather-3.0.vapi with a custom command [51/51] Generating GWeather-3.0.typelib with a custom command >>> libgweather: Entering fakeroot... Installing data/Locations.bin to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/lib/libgweather Installing libgweather/gweather-enum-types.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing libgweather/libgweather-3.so.16.0.0 to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/lib Installing libgweather/GWeather-3.0.gir to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/gir-1.0 Installing libgweather/GWeather-3.0.typelib to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/lib/girepository-1.0 Installing libgweather/gweather-3.0.vapi to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/vala/vapi Installing schemas/org.gnome.GWeather.enums.xml to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/glib-2.0/schemas Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather-location.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather-location-entry.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather-timezone.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather-timezone-menu.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather-weather.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/libgweather/gweather-enums.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/data/glade/libgweather.xml to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/glade/catalogs Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/data/Locations.xml to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/data/locations.dtd to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/libgweather/gweather-version.h to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/include/libgweather-3.0/libgweather Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/meson-private/gweather-3.0.deps to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/vala/vapi Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/schemas/org.gnome.GWeather.gschema.xml to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/share/glib-2.0/schemas Installing /home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/meson-private/gweather-3.0.pc to /home/buildozer/aports/community/libgweather/pkg/libgweather/usr/lib/pkgconfig Running custom install script '/usr/bin/meson --internal gtkdoc --sourcedir=/home/buildozer/aports/community/libgweather/src/libgweather-40.0 --builddir=/home/buildozer/aports/community/libgweather/src/libgweather-40.0/output --subdir=doc --headerdirs=libgweather --mainfile=libgweather-docs.xml --modulename=libgweather --moduleversion= --mode=auto --gtkdoc-scan=/usr/bin/gtkdoc-scan --gtkdoc-scangobj=/usr/bin/gtkdoc-scangobj --gtkdoc-mkdb=/usr/bin/gtkdoc-mkdb --gtkdoc-mkhtml=/usr/bin/gtkdoc-mkhtml --gtkdoc-fixxref=/usr/bin/gtkdoc-fixxref --scanargs=--deprecated-guards="GWEATHER_DISABLE_DEPRECATED" --gobjects-types-file=/home/buildozer/aports/community/libgweather/src/libgweather-40.0/doc/libgweather.types --fixxrefargs=--html-dir=/usr/share/gtk-doc/html@@--extra-dir=/usr/share/gtk-doc/html/glib@@--extra-dir=/usr/share/gtk-doc/html/gobject@@--extra-dir=/usr/share/gtk-doc/html/gio@@--extra-dir=/usr/share/gtk-doc/html/gtk --mkdbargs=--xml-mode@@--output-format=xml --content-files= --ignore-headers=gweather-enum-types.h@@gweather-parser.h@@gweather-private.h --cc=gcc --ld=gcc --cflags=-I/home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/. -I/home/buildozer/aports/community/libgweather/src/libgweather-40.0/. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/geocode-glib-1.0 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE --ldflags=-L/home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/libgweather -Wl,-rpath,/home/buildozer/aports/community/libgweather/src/libgweather-40.0/output/libgweather -lgweather-3 -lm -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lsoup-2.4 -lxml2 -lgeocode-glib -Os -fomit-frame-pointer -Os -fomit-frame-pointer' Running custom install script '/usr/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=libgweather-3.0' Running custom install script '/usr/bin/meson --internal gettext install --subdir=po-locations --localedir=share/locale --pkgname=libgweather-locations' Running custom install script '/home/buildozer/aports/community/libgweather/src/libgweather-40.0/meson/meson_post_install.py' >>> libgweather-dev*: Running split function dev... >>> libgweather-dev*: Preparing subpackage libgweather-dev... >>> libgweather-dev*: Stripping binaries >>> libgweather-dev*: Running postcheck for libgweather-dev >>> libgweather-doc*: Running split function doc... >>> libgweather-doc*: Preparing subpackage libgweather-doc... >>> libgweather-doc*: Running postcheck for libgweather-doc >>> libgweather-lang*: Running split function lang... >>> libgweather-lang*: Preparing subpackage libgweather-lang... >>> libgweather-lang*: Running postcheck for libgweather-lang >>> libgweather*: Running postcheck for libgweather >>> libgweather*: Preparing package libgweather... >>> libgweather*: Stripping binaries >>> libgweather-dev*: Scanning shared objects >>> libgweather-doc*: Scanning shared objects >>> libgweather-lang*: Scanning shared objects >>> libgweather*: Scanning shared objects >>> libgweather-dev*: Tracing dependencies... libgweather=40.0-r0 pc:geocode-glib-1.0 pc:gio-2.0 pc:gtk+-3.0 pc:libsoup-2.4 pc:libxml-2.0 pkgconfig >>> libgweather-dev*: Package size: 328.0 KB >>> libgweather-dev*: Compressing data... >>> libgweather-dev*: Create checksum... >>> libgweather-dev*: Create libgweather-dev-40.0-r0.apk >>> libgweather-doc*: Tracing dependencies... >>> libgweather-doc*: Package size: 408.0 KB >>> libgweather-doc*: Compressing data... >>> libgweather-doc*: Create checksum... >>> libgweather-doc*: Create libgweather-doc-40.0-r0.apk >>> libgweather-lang*: Tracing dependencies... >>> libgweather-lang*: Package size: 20.6 MB >>> libgweather-lang*: Compressing data... >>> libgweather-lang*: Create checksum... >>> libgweather-lang*: Create libgweather-lang-40.0-r0.apk >>> libgweather*: Tracing dependencies... tzdata gsettings-desktop-schemas so:libc.musl-x86.so.1 so:libgeocode-glib.so.0 so:libgio-2.0.so.0 so:libglib-2.0.so.0 so:libgobject-2.0.so.0 so:libgtk-3.so.0 so:libintl.so.8 so:libsoup-2.4.so.1 so:libxml2.so.2 >>> libgweather*: Package size: 2.4 MB >>> libgweather*: Compressing data... >>> libgweather*: Create checksum... >>> libgweather*: Create libgweather-40.0-r0.apk >>> libgweather: Build complete at Fri, 22 Oct 2021 11:21:22 +0000 elapsed time 0h 1m 20s >>> libgweather: Cleaning up srcdir >>> libgweather: Cleaning up pkgdir >>> libgweather: Uninstalling dependencies... (1/260) Purging util-linux-misc (2.37.2-r1) (2/260) Purging runuser (2.37.2-r1) (3/260) Purging hexdump (2.37.2-r1) (4/260) Purging uuidgen (2.37.2-r1) (5/260) Purging blkid (2.37.2-r1) (6/260) Purging sfdisk (2.37.2-r1) (7/260) Purging mcookie (2.37.2-r1) (8/260) Purging wipefs (2.37.2-r1) (9/260) Purging cfdisk (2.37.2-r1) (10/260) Purging flock (2.37.2-r1) (11/260) Purging lsblk (2.37.2-r1) (12/260) Purging setpriv (2.37.2-r1) (13/260) Purging logger (2.37.2-r1) (14/260) Purging partx (2.37.2-r1) (15/260) Purging findmnt (2.37.2-r1) (16/260) Purging .makedepends-libgweather (20211022.112013) (17/260) Purging tzdata (2021e-r0) (18/260) Purging libsoup-dev (2.74.0-r0) (19/260) Purging vala (0.54.2-r0) (20/260) Purging geocode-glib-dev (3.26.2-r0) (21/260) Purging geocode-glib (3.26.2-r0) (22/260) Purging gobject-introspection-dev (1.70.0-r1) (23/260) Purging libtool (2.4.6-r7) (24/260) Purging bash (5.1.8-r0) Executing bash-5.1.8-r0.pre-deinstall (25/260) Purging gtk-doc (1.33.2-r2) (26/260) Purging py3-six (1.16.0-r0) (27/260) Purging py3-pygments (2.10.0-r0) (28/260) Purging meson (0.59.2-r0) (29/260) Purging samurai (1.2-r1) (30/260) Purging py3-gobject3 (3.42.0-r1) (31/260) Purging glade-dev (3.38.2-r2) (32/260) Purging glade (3.38.2-r2) (33/260) Purging webkit2gtk (2.34.0-r1) (34/260) Purging bubblewrap (0.5.0-r0) (35/260) Purging xdg-dbus-proxy (0.1.2-r0) (36/260) Purging dbus-openrc (1.12.20-r2) (37/260) Purging dbus (1.12.20-r2) (38/260) Purging gnome-keyring (40.0-r0) (39/260) Purging libwpebackend-fdo (1.8.3-r0) (40/260) Purging enchant2 (2.3.1-r1) (41/260) Purging gst-plugins-base (1.18.5-r0) (42/260) Purging hyphen (2.8.8-r1) (43/260) Purging lcms2 (2.12-r1) (44/260) Purging libmanette (0.2.6-r1) (45/260) Purging libnotify (0.7.9-r1) (46/260) Purging openjpeg (2.4.0-r2) (47/260) Purging libseccomp (2.5.2-r0) (48/260) Purging libsecret (0.20.4-r1) (49/260) Purging libwoff2enc (1.0.2-r1) (50/260) Purging util-linux-openrc (2.37.2-r1) (51/260) Purging libsoup (2.74.0-r0) (52/260) Purging glib-networking (2.70.0-r0) (53/260) Purging gsettings-desktop-schemas (40.0-r0) (54/260) Purging gtk+3.0-dev (3.24.30-r0) (55/260) Purging gtk+3.0 (3.24.30-r0) Executing gtk+3.0-3.24.30-r0.post-deinstall (56/260) Purging gtk-update-icon-cache (2.24.33-r0) (57/260) Purging hicolor-icon-theme (0.17-r1) (58/260) Purging wayland-dev (1.19.0-r1) (59/260) Purging wayland-libs-cursor (1.19.0-r1) (60/260) Purging wayland-libs-egl (1.19.0-r1) (61/260) Purging graphviz-dev (2.49.2-r0) (62/260) Purging libsm-dev (1.2.3-r0) (63/260) Purging libsm (1.2.3-r0) (64/260) Purging gmp-dev (6.2.1-r0) (65/260) Purging libgmpxx (6.2.1-r0) (66/260) Purging python3-dev (3.9.7-r3) (67/260) Purging graphviz (2.49.2-r0) Executing graphviz-2.49.2-r0.pre-deinstall (68/260) Purging pango-dev (1.48.10-r0) (69/260) Purging pango-tools (1.48.10-r0) (70/260) Purging pango (1.48.10-r0) Executing pango-1.48.10-r0.pre-deinstall (71/260) Purging gdk-pixbuf-dev (2.42.6-r0) (72/260) Purging gdk-pixbuf (2.42.6-r0) Executing gdk-pixbuf-2.42.6-r0.pre-deinstall (73/260) Purging cairo-dev (1.16.0-r3) (74/260) Purging cairo-tools (1.16.0-r3) (75/260) Purging xcb-util-dev (0.4.0-r3) (76/260) Purging util-macros (1.19.3-r0) (77/260) Purging xcb-util (0.4.0-r3) (78/260) Purging at-spi2-atk-dev (2.38.0-r0) (79/260) Purging at-spi2-atk (2.38.0-r0) (80/260) Purging atk-dev (2.36.0-r0) (81/260) Purging atk (2.36.0-r0) (82/260) Purging at-spi2-core-dev (2.42.0-r0) (83/260) Purging at-spi2-core (2.42.0-r0) (84/260) Purging harfbuzz-dev (3.0.0-r1) (85/260) Purging harfbuzz-icu (3.0.0-r1) (86/260) Purging harfbuzz (3.0.0-r1) (87/260) Purging glib-dev (2.70.0-r1) (88/260) Purging python3 (3.9.7-r3) (89/260) Purging gettext-dev (0.21-r0) (90/260) Purging gettext-asprintf (0.21-r0) (91/260) Purging gettext (0.21-r0) (92/260) Purging bzip2-dev (1.0.8-r1) (93/260) Purging docbook-xsl (1.79.2-r3) Executing docbook-xsl-1.79.2-r3.post-deinstall (94/260) Purging libxslt (1.1.34-r1) (95/260) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (96/260) Purging libxml2-utils (2.9.12-r1) (97/260) Purging libffi-dev (3.4.2-r1) (98/260) Purging gjs (1.70.0-r0) (99/260) Purging gcr-base (3.40.0-r0) (100/260) Purging gstreamer (1.18.5-r0) (101/260) Purging json-glib (1.6.6-r0) (102/260) Purging gobject-introspection (1.70.0-r1) (103/260) Purging libgudev (237-r0) (104/260) Purging cairo-gobject (1.16.0-r3) (105/260) Purging shared-mime-info (2.1-r0) Executing shared-mime-info-2.1-r0.post-deinstall (106/260) Purging graphene (1.10.6-r1) (107/260) Purging glib (2.70.0-r1) (108/260) Purging mozjs78 (78.15.0-r2) (109/260) Purging libepoxy-dev (1.5.9-r0) (110/260) Purging libepoxy (1.5.9-r0) (111/260) Purging mesa-dev (21.2.4-r1) (112/260) Purging libxdamage-dev (1.1.5-r1) (113/260) Purging libxdamage (1.1.5-r1) (114/260) Purging libxshmfence-dev (1.3-r1) (115/260) Purging mesa-gl (21.2.4-r1) (116/260) Purging mesa-gles (21.2.4-r1) (117/260) Purging mesa-osmesa (21.2.4-r1) (118/260) Purging mesa-xatracker (21.2.4-r1) (119/260) Purging mesa-egl (21.2.4-r1) (120/260) Purging wayland-libs-client (1.19.0-r1) (121/260) Purging cups-libs (2.3.3-r4) (122/260) Purging gnutls (3.7.1-r0) (123/260) Purging p11-kit (0.24.0-r1) (124/260) Purging mesa-gbm (21.2.4-r1) (125/260) Purging mesa (21.2.4-r1) (126/260) Purging wayland-libs-server (1.19.0-r1) (127/260) Purging llvm12-libs (12.0.1-r0) (128/260) Purging libffi (3.4.2-r1) (129/260) Purging aspell-libs (0.60.8-r1) (130/260) Purging gettext-libs (0.21-r0) (131/260) Purging avahi-libs (0.8-r5) (132/260) Purging libintl (0.21-r0) (133/260) Purging dbus-dev (1.12.20-r2) (134/260) Purging dbus-libs (1.12.20-r2) (135/260) Purging libxft-dev (2.3.4-r0) (136/260) Purging libxft (2.3.4-r0) (137/260) Purging fontconfig-dev (2.13.1-r4) (138/260) Purging util-linux-dev (2.37.2-r1) (139/260) Purging util-linux (2.37.2-r1) (140/260) Purging libfdisk (2.37.2-r1) (141/260) Purging libmount (2.37.2-r1) (142/260) Purging libsmartcols (2.37.2-r1) (143/260) Purging libblkid (2.37.2-r1) (144/260) Purging pcre-dev (8.45-r1) (145/260) Purging libpcre16 (8.45-r1) (146/260) Purging libpcre32 (8.45-r1) (147/260) Purging libpcrecpp (8.45-r1) (148/260) Purging pcre (8.45-r1) (149/260) Purging graphite2-dev (1.3.14-r0) (150/260) Purging graphite2 (1.3.14-r0) (151/260) Purging freetype-dev (2.11.0-r0) (152/260) Purging cairo (1.16.0-r3) (153/260) Purging fontconfig (2.13.1-r4) (154/260) Purging freetype (2.11.0-r0) (155/260) Purging libbz2 (1.0.8-r1) (156/260) Purging gdbm (1.20-r2) (157/260) Purging tiff-dev (4.3.0-r0) (158/260) Purging libjpeg-turbo-dev (2.1.1-r0) (159/260) Purging libwebp-dev (1.2.1-r0) (160/260) Purging zstd-dev (1.5.0-r0) (161/260) Purging libtiffxx (4.3.0-r0) (162/260) Purging tiff (4.3.0-r0) (163/260) Purging libxkbcommon-dev (1.3.1-r0) (164/260) Purging libxkbcommon-x11 (1.3.1-r0) (165/260) Purging libxml2-dev (2.9.12-r1) (166/260) Purging xz-dev (5.2.5-r0) (167/260) Purging libwpe (1.12.0-r0) (168/260) Purging libxkbcommon (1.3.1-r0) (169/260) Purging xkeyboard-config (2.34-r0) (170/260) Purging libxml2 (2.9.12-r1) (171/260) Purging xz-libs (5.2.5-r0) (172/260) Purging mpdecimal (2.5.1-r1) (173/260) Purging readline (8.1.1-r0) (174/260) Purging sqlite-dev (3.36.0-r0) (175/260) Purging sqlite-libs (3.36.0-r0) (176/260) Purging libpsl-dev (0.21.1-r0) (177/260) Purging libpsl (0.21.1-r0) (178/260) Purging libidn2 (2.3.2-r0) (179/260) Purging libunistring (0.9.10-r1) (180/260) Purging libgcrypt (1.9.4-r0) (181/260) Purging libgpg-error (1.42-r1) (182/260) Purging libdrm-dev (2.4.107-r0) (183/260) Purging libdrm (2.4.107-r0) (184/260) Purging linux-headers (5.10.41-r0) (185/260) Purging libeconf (0.4.1-r0) (186/260) Purging libuuid (2.37.2-r1) (187/260) Purging linux-pam (1.5.2-r0) (188/260) Purging libcap-ng (0.8.2-r0) (189/260) Purging libpng-dev (1.6.37-r1) (190/260) Purging libpng (1.6.37-r1) (191/260) Purging zlib-dev (1.2.11-r3) (192/260) Purging libjpeg-turbo (2.1.1-r0) (193/260) Purging libwebp (1.2.1-r0) (194/260) Purging libxrandr-dev (1.5.2-r1) (195/260) Purging libxrandr (1.5.2-r1) (196/260) Purging libxcomposite-dev (0.4.5-r0) (197/260) Purging libxcomposite (0.4.5-r0) (198/260) Purging libxinerama-dev (1.1.4-r1) (199/260) Purging libxinerama (1.1.4-r1) (200/260) Purging libxxf86vm-dev (1.1.4-r2) (201/260) Purging libxxf86vm (1.1.4-r2) (202/260) Purging libxcursor-dev (1.2.0-r0) (203/260) Purging libxcursor (1.2.0-r0) (204/260) Purging libxrender-dev (0.9.10-r3) (205/260) Purging libxrender (0.9.10-r3) (206/260) Purging libxtst-dev (1.2.3-r3) (207/260) Purging libxtst (1.2.3-r3) (208/260) Purging libxi-dev (1.8-r0) (209/260) Purging libxi (1.8-r0) (210/260) Purging libxfixes-dev (6.0.0-r0) (211/260) Purging libxfixes (6.0.0-r0) (212/260) Purging libxext-dev (1.3.4-r0) (213/260) Purging libx11-dev (1.7.2-r0) (214/260) Purging xtrans (1.4.0-r1) (215/260) Purging libxcb-dev (1.14-r2) (216/260) Purging xcb-proto (1.14.1-r2) (217/260) Purging libxau-dev (1.0.9-r0) (218/260) Purging libxv (1.0.11-r2) (219/260) Purging libxext (1.3.4-r0) (220/260) Purging libx11 (1.7.2-r0) (221/260) Purging libxcb (1.14-r2) (222/260) Purging libxau (1.0.9-r0) (223/260) Purging libice-dev (1.0.10-r0) (224/260) Purging libice (1.0.10-r0) (225/260) Purging libxdmcp-dev (1.1.3-r0) (226/260) Purging libxdmcp (1.1.3-r0) (227/260) Purging xorgproto (2021.5-r0) (228/260) Purging libbsd (0.11.3-r1) (229/260) Purging libmd (1.0.3-r0) (230/260) Purging libpciaccess-dev (0.16-r0) (231/260) Purging libpciaccess (0.16-r0) (232/260) Purging libxshmfence (1.3-r1) (233/260) Purging mesa-glapi (21.2.4-r1) (234/260) Purging wayland-protocols (1.23-r0) (235/260) Purging pixman-dev (0.40.0-r3) (236/260) Purging pixman (0.40.0-r3) (237/260) Purging nettle (3.7.3-r0) (238/260) Purging libtasn1 (4.17.0-r0) (239/260) Purging fribidi-dev (1.0.11-r0) (240/260) Purging fribidi (1.0.11-r0) (241/260) Purging expat-dev (2.4.1-r0) (242/260) Purging brotli-dev (1.0.9-r5) (243/260) Purging icu-dev (69.1-r0) (244/260) Purging icu (69.1-r0) (245/260) Purging nuspell (5.0.0-r1) (246/260) Purging icu-libs (69.1-r0) (247/260) Purging libproxy (0.4.17-r1) (248/260) Purging libltdl (2.4.6-r7) (249/260) Purging nspr (4.32-r0) (250/260) Purging libcap (2.59-r0) (251/260) Purging alsa-lib (1.2.5.1-r1) (252/260) Purging cdparanoia-libs (10.2-r9) (253/260) Purging libtheora (1.1.1-r16) (254/260) Purging libvorbis (1.3.7-r0) (255/260) Purging libogg (1.3.5-r0) (256/260) Purging opus (1.3.1-r1) (257/260) Purging orc (0.4.32-r0) (258/260) Purging libevdev (1.11.0-r1) (259/260) Purging eudev-libs (3.2.10-r1) (260/260) Purging libwoff2common (1.0.2-r1) Executing busybox-1.34.1-r1.trigger OK: 316 MiB in 89 packages >>> libgweather: Updating the community/x86 repository index... >>> libgweather: Signing the index...