Snippets for appstream-glib 0.8.3 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/appstream-glib/0.8.3_1/150amd64-default.log.
-
../libappstream-glib/as-app.c:1682:15: warning: implicit conversion from enumeration type 'AsAppKind' to different enumeration type 'AsIdKind' [-Wenum-conversion] 1682 | return priv->kind; | ~~~~~~ ~~~~~~^~~~ -
../libappstream-glib/as-app.c:2466:15: warning: implicit conversion from enumeration type 'AsIdKind' to different enumeration type 'AsAppKind' [-Wenum-conversion] 2466 | priv->kind = id_kind; | ~ ^~~~~~~ -
../libappstream-glib/as-app-validate.c:468:8: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 468 | (void)curl_easy_setopt(helper->curl, CURLOPT_FOLLOWLOCATION, 1); | ^ -
../libappstream-glib/as-enums.c:37:32: warning: implicit conversion from enumeration type 'AsIdKind' to different enumeration type 'AsAppKind' [-Wenum-conversion] 37 | return as_app_kind_to_string (id_kind); | ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~ -
../libappstream-glib/as-enums.c:53:9: warning: implicit conversion from enumeration type 'AsAppKind' to different enumeration type 'AsIdKind' [-Wenum-conversion] 53 | return as_app_kind_from_string (id_kind); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libappstream-glib/as-node.c:1605:8: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1605 | guint i; | ^ -
../libappstream-glib/as-node.c:1778:15: warning: variable 'data_unlocalized' set but not used [-Wunused-but-set-variable] 1778 | AsRefString *data_unlocalized; | ^ -
../libappstream-glib/as-release.c:192:9: warning: implicit conversion from enumeration type 'AsAppMergeKind' to different enumeration type 'AsReleaseState' [-Wenum-conversion] 192 | return AS_APP_MERGE_KIND_NONE; | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ -
../libappstream-glib/as-utils.c:1829:2: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 1829 | GTimeVal tv; | ^ -
../libappstream-glib/as-utils.c:1838:7: warning: 'g_time_val_from_iso8601' is deprecated: Use 'g_date_time_new_from_iso8601' instead [-Wdeprecated-declarations] 1838 | if (g_time_val_from_iso8601 (iso_date, &tv) && tv.tv_sec != 0) | ^ -
../libappstream-glib/as-utils.c:1839:11: warning: 'g_date_time_new_from_timeval_utc' is deprecated: Use 'g_date_time_new_from_unix_utc' instead [-Wdeprecated-declarations] 1839 | return g_date_time_new_from_timeval_utc (&tv); | ^ -
../libappstream-builder/asb-task.c:309:8: warning: variable 'nr_added' set but not used [-Wunused-but-set-variable] 309 | guint nr_added = 0; | ^ -
../libappstream-builder/asb-self-test.c:28:1: warning: unused function 'asb_test_get_filename' [-Wunused-function] 28 | asb_test_get_filename (const gchar *filename) | ^~~~~~~~~~~~~~~~~~~~~ -
../libappstream-builder/asb-self-test.c:45:1: warning: unused function 'asb_test_compare_lines' [-Wunused-function] 45 | asb_test_compare_lines (const gchar *txt1, const gchar *txt2, GError **error) | ^~~~~~~~~~~~~~~~~~~~~~ -
../client/as-util.c:3450:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 3450 | (void)curl_easy_setopt(priv->curl, CURLOPT_FOLLOWLOCATION, 1); | ^