Task #4050 - anaconda-41.28-1.20240808101524582016.pr5793.21.g6bdd0bf91e/scan-results.err

back to task #4050
download
Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.c: scope_hint: In function 'anaconda_base_standalone_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.c:152:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  152 |     g_type_class_add_private(object_class, sizeof(AnacondaBaseStandalonePrivate));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.h:21: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  150|                                                           G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
#  151|   
#  152|->     g_type_class_add_private(object_class, sizeof(AnacondaBaseStandalonePrivate));
#  153|   
#  154|       gtk_widget_class_set_css_name(widget_class, "AnacondaBaseStandalone");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.c: scope_hint: In function 'anaconda_base_standalone_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.c:160:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  160 |                                             AnacondaBaseStandalonePrivate);
#      |             ^                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
#  158|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  159|                                               ANACONDA_TYPE_BASE_STANDALONE,
#  160|->                                             AnacondaBaseStandalonePrivate);
#  161|   }
#  162|   

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.c: scope_hint: In function 'anaconda_base_window_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.c:235:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/LayoutIndicator.h:21: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.c:25: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  233|                                                              G_TYPE_NONE, 0);
#  234|   
#  235|->     g_type_class_add_private(object_class, sizeof(AnacondaBaseWindowPrivate));
#  236|   
#  237|       gtk_widget_class_set_css_name(widget_class, "AnacondaBaseWindow");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.c: scope_hint: In function 'anaconda_base_window_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.c:258:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  256|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  257|                                               ANACONDA_TYPE_BASE_WINDOW,
#  258|->                                             AnacondaBaseWindowPrivate);
#  259|   
#  260|       win->priv->is_beta = FALSE;

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/DiskOverview.c: scope_hint: In function 'anaconda_disk_overview_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/DiskOverview.c:239:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  239 |     g_type_class_add_private(object_class, sizeof(AnacondaDiskOverviewPrivate));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/atk-1.0/atk/atk-enum-types.h:12: included_from: Included from here.
/usr/include/atk-1.0/atk/atk.h:25: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/DiskOverview.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  237|                                                           G_PARAM_READWRITE));
#  238|   
#  239|->     g_type_class_add_private(object_class, sizeof(AnacondaDiskOverviewPrivate));
#  240|   
#  241|       gtk_widget_class_set_css_name(widget_class, "AnacondaDiskOverview");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/DiskOverview.c: scope_hint: In function 'anaconda_disk_overview_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/DiskOverview.c:310:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  310 |                                                AnacondaDiskOverviewPrivate);
#      |             ^                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
#  308|       widget->priv = G_TYPE_INSTANCE_GET_PRIVATE(widget,
#  309|                                                  ANACONDA_TYPE_DISK_OVERVIEW,
#  310|->                                                AnacondaDiskOverviewPrivate);
#  311|       gtk_widget_set_valign(GTK_WIDGET(widget), GTK_ALIGN_CENTER);
#  312|   

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/HubWindow.c: scope_hint: In function 'anaconda_hub_window_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/HubWindow.c:103:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.h:21: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/HubWindow.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  101|       GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(klass);
#  102|   
#  103|->     g_type_class_add_private(object_class, sizeof(AnacondaHubWindowPrivate));
#  104|   
#  105|       gtk_widget_class_set_css_name(widget_class, "AnacondaHubWindow");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/HubWindow.c: scope_hint: In function 'anaconda_hub_window_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/HubWindow.c:125:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  123|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  124|                                               ANACONDA_TYPE_HUB_WINDOW,
#  125|->                                             AnacondaHubWindowPrivate);
#  126|   
#  127|       win->priv->scrolled_window = gtk_scrolled_window_new(NULL, NULL);

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/LayoutIndicator.c: scope_hint: In function 'anaconda_layout_indicator_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/LayoutIndicator.c:145:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/atk-1.0/atk/atk-enum-types.h:12: included_from: Included from here.
/usr/include/atk-1.0/atk/atk.h:25: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/LayoutIndicator.c:22: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  143|                                                         G_PARAM_READWRITE));
#  144|   
#  145|->     g_type_class_add_private(object_class, sizeof(AnacondaLayoutIndicatorPrivate));
#  146|   
#  147|       gtk_widget_class_set_css_name(widget_class, "AnacondaLayoutIndicator");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/LayoutIndicator.c: scope_hint: In function 'anaconda_layout_indicator_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/LayoutIndicator.c:189:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  187|       self->priv = G_TYPE_INSTANCE_GET_PRIVATE(self,
#  188|                                                ANACONDA_TYPE_LAYOUT_INDICATOR,
#  189|->                                              AnacondaLayoutIndicatorPrivate);
#  190|   
#  191|       /* layout indicator should not change focus when it is clicked */

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/MountpointSelector.c: scope_hint: In function 'anaconda_mountpoint_selector_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/MountpointSelector.c:203:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/MountpointSelector.c:21: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  201|                                             NULL);            // array of types, one for each parameter
#  202|   
#  203|->     g_type_class_add_private(object_class, sizeof(AnacondaMountpointSelectorPrivate));
#  204|   
#  205|       gtk_widget_class_set_css_name(widget_class, "AnacondaMountpointSelector");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/MountpointSelector.c: scope_hint: In function 'anaconda_mountpoint_selector_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/MountpointSelector.c:228:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  226|       mountpoint->priv = G_TYPE_INSTANCE_GET_PRIVATE(mountpoint,
#  227|                                                      ANACONDA_TYPE_MOUNTPOINT_SELECTOR,
#  228|->                                                    AnacondaMountpointSelectorPrivate);
#  229|   
#  230|       /* Allow tabbing from one MountpointSelector to the next, and make sure it's

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeSelector.c: scope_hint: In function 'anaconda_spoke_selector_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeSelector.c:167:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  167 |     g_type_class_add_private(object_class, sizeof(AnacondaSpokeSelectorPrivate));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/atk-1.0/atk/atk-enum-types.h:12: included_from: Included from here.
/usr/include/atk-1.0/atk/atk.h:25: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeSelector.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  165|                                                           G_PARAM_READWRITE));
#  166|   
#  167|->     g_type_class_add_private(object_class, sizeof(AnacondaSpokeSelectorPrivate));
#  168|   
#  169|       gtk_widget_class_set_css_name(widget_class, "AnacondaSpokeSelector");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeSelector.c: scope_hint: In function 'anaconda_spoke_selector_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeSelector.c:268:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  268 |                                               AnacondaSpokeSelectorPrivate);
#      |             ^                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
#  266|       spoke->priv = G_TYPE_INSTANCE_GET_PRIVATE(spoke,
#  267|                                                 ANACONDA_TYPE_SPOKE_SELECTOR,
#  268|->                                               AnacondaSpokeSelectorPrivate);
#  269|   
#  270|       /* Allow tabbing from one SpokeSelector to the next, and make sure it's

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeWindow.c: scope_hint: In function 'anaconda_spoke_window_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeWindow.c:100:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseWindow.h:21: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeWindow.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#   98|                                                            G_TYPE_NONE, 0);
#   99|   
#  100|->     g_type_class_add_private(object_class, sizeof(AnacondaSpokeWindowPrivate));
#  101|   
#  102|       gtk_widget_class_set_css_name(widget_class, "AnacondaSpokeWindow");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeWindow.c: scope_hint: In function 'anaconda_spoke_window_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/SpokeWindow.c:125:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  123|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  124|                                               ANACONDA_TYPE_SPOKE_WINDOW,
#  125|->                                             AnacondaSpokeWindowPrivate);
#  126|   
#  127|       /* Create the button. */

Error: COMPILER_WARNING (CWE-477):
anaconda-41.28-build/anaconda-41.28/widgets/src/StandaloneWindow.c: scope_hint: In function 'anaconda_standalone_window_class_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/StandaloneWindow.c:114:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/BaseStandalone.h:21: included_from: Included from here.
anaconda-41.28-build/anaconda-41.28/widgets/src/StandaloneWindow.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  112|                                                           G_PARAM_READABLE));
#  113|   
#  114|->     g_type_class_add_private(object_class, sizeof(AnacondaStandaloneWindowPrivate));
#  115|   
#  116|       gtk_widget_class_set_css_name(widget_class, "AnacondaStandaloneWindow");

Error: COMPILER_WARNING:
anaconda-41.28-build/anaconda-41.28/widgets/src/StandaloneWindow.c: scope_hint: In function 'anaconda_standalone_window_init'
anaconda-41.28-build/anaconda-41.28/widgets/src/StandaloneWindow.c:146:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  144|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  145|                                               ANACONDA_TYPE_STANDALONE_WINDOW,
#  146|->                                             AnacondaStandaloneWindowPrivate);
#  147|   
#  148|       /* Create the buttons. */