Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtk+-3:ninja: build stopped: subcommand failed. #312

Open
lhw828 opened this issue Aug 10, 2022 · 0 comments
Open

gtk+-3:ninja: build stopped: subcommand failed. #312

lhw828 opened this issue Aug 10, 2022 · 0 comments

Comments

@lhw828
Copy link
Contributor

lhw828 commented Aug 10, 2022

[453/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkeventcontrollerkey.c.o
[454/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkeventcontrollerscroll.c.o
[455/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkeditable.c.o
[456/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooser.c.o
[457/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooserbutton.c.o
[458/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooserembed.c.o
[459/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechoosernative.c.o
[460/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechoosernativeportal.c.o
[461/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooserentry.c.o
[462/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkexpander.c.o
[463/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooserdialog.c.o
[464/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooserutils.c.o
[465/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilesystem.c.o
[466/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilechooserwidget.c.o
[467/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilefilter.c.o
[468/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfilesystemmodel.c.o
[469/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfixed.c.o
[470/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkflowbox.c.o
[471/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfontchooser.c.o
[472/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfontbutton.c.o
../gtk/gtkfontbutton.c: In function 'pango_font_description_to_css':
../gtk/gtkfontbutton.c:1253:7: warning: enumeration value 'PANGO_VARIANT_ALL_SMALL_CAPS' not handled in switch [-Wswitch]
1253 | switch (pango_font_description_get_variant (desc))
| ^~~~~~
../gtk/gtkfontbutton.c:1253:7: warning: enumeration value 'PANGO_VARIANT_PETITE_CAPS' not handled in switch [-Wswitch]
../gtk/gtkfontbutton.c:1253:7: warning: enumeration value 'PANGO_VARIANT_ALL_PETITE_CAPS' not handled in switch [-Wswitch]
../gtk/gtkfontbutton.c:1253:7: warning: enumeration value 'PANGO_VARIANT_UNICASE' not handled in switch [-Wswitch]
../gtk/gtkfontbutton.c:1253:7: warning: enumeration value 'PANGO_VARIANT_TITLE_CAPS' not handled in switch [-Wswitch]
[473/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfontchooserdialog.c.o
[474/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfontchooserutils.c.o
[475/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgladecatalog.c.o
[476/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkfontchooserwidget.c.o
../gtk/gtkfontchooserwidget.c:1674:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1674 | static const float
| ^~~~~
../gtk/gtkfontchooserwidget.c:1680:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1680 | static const float
| ^~~~~
../gtk/gtkfontchooserwidget.c:1686:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1686 | static const float
| ^~~~~
../gtk/gtkfontchooserwidget.c: In function 'gtk_font_chooser_widget_update_font_variations':
../gtk/gtkfontchooserwidget.c:1857:41: warning: pointer targets in passing argument 3 of 'hb_ot_var_get_axis_infos' differ in signedness [-Wpointer-sign]
1857 | hb_ot_var_get_axis_infos (hb_face, 0, &num_axes, axes);
| ^~~~~~~~~
| |
| int *
In file included from /usr/include/harfbuzz/hb-ot.h:42,
from ../gtk/gtkfontchooserwidget.c:75:
/usr/include/harfbuzz/hb-ot-var.h:140:50: note: expected 'unsigned int *' but argument is of type 'int *'
140 | unsigned int axes_count / IN/OUT */,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../gtk/gtkfontchooserwidget.c: In function 'gtk_font_chooser_widget_update_font_features':
../gtk/gtkfontchooserwidget.c:2474:5: warning: "FONT_FEATURES_USE_PANGOFT2" is not defined, evaluates to 0 [-Wundef]
2474 | #if FONT_FEATURES_USE_PANGOFT2
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
[477/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkframe.c.o
[478/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesture.c.o
[479/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturedrag.c.o
[480/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturelongpress.c.o
[481/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturemultipress.c.o
[482/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturerotate.c.o
[483/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturepan.c.o
[484/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturezoom.c.o
[485/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturestylus.c.o
[486/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgestureswipe.c.o
[487/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgesturesingle.c.o
[488/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkglarea.c.o
[489/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkgrid.c.o
[490/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkheaderbar.c.o
[491/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkhsla.c.o
[492/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkiconcache.c.o
[493/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkicon.c.o
[494/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkiconcachevalidator.c.o
[495/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkiconhelper.c.o
[496/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkicontheme.c.o
../gtk/gtkicontheme.c: In function 'gtk_icon_info_load_symbolic_svg':
../gtk/gtkicontheme.c:4500:8: warning: variable 'symbolic_size' set but not used [-Wunused-but-set-variable]
4500 | gint symbolic_size;
| ^~~~~~~~~~~~~
[497/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkiconview.c.o
[498/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkimage.c.o
[499/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkimcontextsimple.c.o
[500/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkimcontext.c.o
[501/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkimmodule.c.o
[502/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkimmulticontext.c.o
[503/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkinfobar.c.o
[504/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkinvisible.c.o
[505/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkkeyhash.c.o
[506/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkimagedefinition.c.o
FAILED: gtk/libgtk-3.so.0.2404.28.p/gtkimagedefinition.c.o
gcc -Igtk/libgtk-3.so.0.2404.28.p -Igtk -I../gtk -I. -I.. -Igdk -I../gdk -Igdk/x11 -I../gdk/x11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -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 -I/usr/include/cloudproviders -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -DG_LOG_USE_STRUCTURED=1 -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_56 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_58 '-DGTK_VERSION="3.24.32"' -D_GNU_SOURCE -O2 -march=x86-64 -fno-plt -fexceptions -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -DG_DISABLE_CAST_CHECKS -fPIC -pthread -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gtk"' -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED '-DGTK_BINARY_VERSION="3.0.0"' '-DGTK_HOST="linux"' '-DGTK_DATA_PREFIX="/usr"' '-DGTK_LIBDIR="/usr/lib"' '-DGTK_LOCALEDIR="/usr/share/locale"' '-DGTK_DATADIR="/usr/share"' '-DGTK_SYSCONFDIR="/etc"' '-DX11_DATA_PREFIX="/usr"' -fno-strict-aliasing -Wpointer-arith -Wimplicit-function-declaration -Wformat=2 -Wformat-security -Wnested-externs -Wold-style-definition -Wundef -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-include-dirs -Wlogical-op -Wignored-qualifiers -Wno-discarded-qualifiers -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=empty-body -Werror=write-strings -fvisibility=hidden -MD -MQ gtk/libgtk-3.so.0.2404.28.p/gtkimagedefinition.c.o -MF gtk/libgtk-3.so.0.2404.28.p/gtkimagedefinition.c.o.d -o gtk/libgtk-3.so.0.2404.28.p/gtkimagedefinition.c.o -c ../gtk/gtkimagedefinition.c
In function 'gtk_image_definition_ref',
inlined from 'gtk_image_definition_new_empty' at ../gtk/gtkimagedefinition.c:107:10:
../gtk/gtkimagedefinition.c:241:13: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'GtkImageDefinitionEmpty[1]' {aka 'struct _GtkImageDefinitionEmpty[1]'} [-Werror=array-bounds]
241 | def->empty.ref_count++;
| ~~~~~~~~~~^~~~~~~~~~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_empty':
../gtk/gtkimagedefinition.c:105:34: note: object 'empty' of size 8
105 | static GtkImageDefinitionEmpty empty = { GTK_IMAGE_EMPTY, 1 };
| ^~~~~
In function 'gtk_image_definition_ref',
inlined from 'gtk_image_definition_new_empty' at ../gtk/gtkimagedefinition.c:107:10:
../gtk/gtkimagedefinition.c:241:23: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'GtkImageDefinitionEmpty[1]' {aka 'struct _GtkImageDefinitionEmpty[1]'} [-Werror=array-bounds]
241 | def->empty.ref_count++;
| ~~~~~~~~~~~~~~~~~~~~^~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_empty':
../gtk/gtkimagedefinition.c:105:34: note: object 'empty' of size 8
105 | static GtkImageDefinitionEmpty empty = { GTK_IMAGE_EMPTY, 1 };
| ^~~~~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_stock' at ../gtk/gtkimagedefinition.c:158:9:
../gtk/gtkimagedefinition.c:128:13: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
128 | def->type = type;
| ~~~~~~~~~~^~~~~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c:129:24: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
129 | def->empty.ref_count = 1;
| ~~~~~~~~~~~~~~~~~~~~~^~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_stock':
../gtk/gtkimagedefinition.c:159:6: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
159 | def->stock.id = g_strdup (stock_id);
| ^~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_stock' at ../gtk/gtkimagedefinition.c:158:9:
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_icon_set' at ../gtk/gtkimagedefinition.c:172:9:
../gtk/gtkimagedefinition.c:128:13: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
128 | def->type = type;
| ~~~~~~~~~~^~~~~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c:129:24: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
129 | def->empty.ref_count = 1;
| ~~~~~~~~~~~~~~~~~~~~~^~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_icon_set':
../gtk/gtkimagedefinition.c:174:6: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
174 | def->icon_set.icon_set = gtk_icon_set_ref (icon_set);
| ^~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_icon_set' at ../gtk/gtkimagedefinition.c:172:9:
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_icon_name' at ../gtk/gtkimagedefinition.c:204:9:
../gtk/gtkimagedefinition.c:128:13: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
128 | def->type = type;
| ~~~~~~~~~~^~~~~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c:129:24: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
129 | def->empty.ref_count = 1;
| ~~~~~~~~~~~~~~~~~~~~~^~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_icon_name':
../gtk/gtkimagedefinition.c:205:6: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
205 | def->icon_name.icon_name = g_strdup (icon_name);
| ^~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_icon_name' at ../gtk/gtkimagedefinition.c:204:9:
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_gicon' at ../gtk/gtkimagedefinition.c:218:9:
../gtk/gtkimagedefinition.c:128:13: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
128 | def->type = type;
| ~~~~~~~~~~^~~~~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c:129:24: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
129 | def->empty.ref_count = 1;
| ~~~~~~~~~~~~~~~~~~~~~^~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_gicon':
../gtk/gtkimagedefinition.c:219:6: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
219 | def->gicon.gicon = g_object_ref (gicon);
| ^~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_gicon' at ../gtk/gtkimagedefinition.c:218:9:
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_surface' at ../gtk/gtkimagedefinition.c:232:9:
../gtk/gtkimagedefinition.c:128:13: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
128 | def->type = type;
| ~~~~~~~~~~^~~~~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c:129:24: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
129 | def->empty.ref_count = 1;
| ~~~~~~~~~~~~~~~~~~~~~^~~
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
../gtk/gtkimagedefinition.c: In function 'gtk_image_definition_new_surface':
../gtk/gtkimagedefinition.c:233:6: error: array subscript 'GtkImageDefinition {aka union _GtkImageDefinition}[0]' is partly outside array bounds of 'unsigned char[16]' [-Werror=array-bounds]
233 | def->surface.surface = cairo_surface_reference (surface);
| ^~
In function 'gtk_image_definition_alloc',
inlined from 'gtk_image_definition_new_surface' at ../gtk/gtkimagedefinition.c:232:9:
../gtk/gtkimagedefinition.c:127:9: note: object of size 16 allocated by 'g_malloc0'
127 | def = g_malloc0 (sizes[type]);
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
[507/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtkkineticscrolling.c.o
[508/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtklayout.c.o
[509/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtklevelbar.c.o
[510/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtklinkbutton.c.o
[511/995] Compiling C object gtk/libgtk-3.so.0.2404.28.p/gtklabel.c.o
../gtk/gtklabel.c: In function 'gtk_label_style_updated':
../gtk/gtklabel.c:4235:32: warning: passing argument 1 of 'gtk_widget_queue_resize' from incompatible pointer type [-Wincompatible-pointer-types]
4235 | gtk_widget_queue_resize (label);
| ^~~~~
| |
| GtkLabel * {aka struct _GtkLabel *}
In file included from ../gtk/deprecated/gtkmisc.h:33,
from ../gtk/gtklabel.h:32,
from ../gtk/gtklabel.c:30:
../gtk/gtkwidget.h:663:65: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'GtkLabel *' {aka 'struct _GtkLabel *'}
663 | void gtk_widget_queue_resize (GtkWidget *widget);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant