Task #1154 - gsettings-qt-0-0.30.20180723bzr85.fc40/scan-results.err

back to task #1154
download
Error: COMPILER_WARNING (CWE-477):
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.cpp: scope_hint: In function ‘GVariant* qconf_types_collect_from_variant(const GVariantType*, const QVariant&)’
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.cpp:233:28: warning[-Wdeprecated-declarations]: ‘void* g_memdup(gconstpointer, guint)’ is deprecated: Use 'g_memdup2' instead
#  233 |             data = g_memdup(array.data(), size);
#      |                    ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.h:21: included_from: Included from here.
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.cpp:17: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
#  350 | gpointer              g_memdup         (gconstpointer mem,
#      |                       ^~~~~~~~
#  231|               gpointer data;
#  232|   
#  233|->             data = g_memdup(array.data(), size);
#  234|   
#  235|               return g_variant_new_from_data(G_VARIANT_TYPE_BYTESTRING,

Error: COMPILER_WARNING (CWE-477):
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qgsettings.cpp: scope_hint: In member function ‘QStringList QGSettings::keys() const’
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qgsettings.cpp:108:40: warning[-Wdeprecated-declarations]: ‘gchar** g_settings_list_keys(GSettings*)’ is deprecated: Use 'g_settings_schema_list_keys' instead
#  108 |     gchar **keys = g_settings_list_keys(priv->settings);
#      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:137: included_from: Included from here.
gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qgsettings.cpp:23: included_from: Included from here.
/usr/include/glib-2.0/gio/gsettings.h:98:25: note: declared here
#   98 | gchar **                g_settings_list_keys                            (GSettings          *settings);
#      |                         ^~~~~~~~~~~~~~~~~~~~
#  106|   {
#  107|       QStringList list;
#  108|->     gchar **keys = g_settings_list_keys(priv->settings);
#  109|       for (int i = 0; keys[i]; i++)
#  110|           list.append(qtify_name(keys[i]));