Created attachment 845946 [details] emerge --info and build log gnome-base/gnome-control-center-43.2 fails to compile with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror-strict-aliasing ../gnome-control-center-43.2/panels/color/cc-color-panel.c:1877:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 1877 | g_clear_pointer ((GtkWindow **)&prefs->dialog_assign, gtk_window_destroy); /usr/include/glib-2.0/glib/gmacros.h:824:47: note: in definition of macro ‘G_STATIC_ASSERT’ 824 | #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false") | ^~~~ ../gnome-control-center-43.2/panels/color/cc-color-panel.c:1877:3: note: in expansion of macro ‘g_clear_pointer’ 1877 | g_clear_pointer ((GtkWindow **)&prefs->dialog_assign, gtk_window_destroy); | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:30, from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34: ../gnome-control-center-43.2/panels/color/cc-color-panel.c:1877:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 1877 | g_clear_pointer ((GtkWindow **)&prefs->dialog_assign, gtk_window_destroy); /usr/include/glib-2.0/glib/glib-typeof.h:39:36: note: in definition of macro ‘glib_typeof’ 39 | #define glib_typeof(t) __typeof__ (t) | ^ ../gnome-control-center-43.2/panels/color/cc-color-panel.c:1877:3: note: in expansion of macro ‘g_clear_pointer’ 1877 | g_clear_pointer ((GtkWindow **)&prefs->dialog_assign, gtk_window_destroy); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors