gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-
cv_resize.c: In function ‘cv_resize_stop’:
cv_resize.c:368:9: error: implicit declaration of function ‘undo_add_resize’ [-Werror=implicit-function-declaration]
368 | undo_add_resize ( width, height );
| ^~~~~~~~~~~~~~~
toolbar.c: In function ‘get_gtk_image’:
toolbar.c:505:48: warning: passing argument 1 of ‘gdk_pixbuf_new_from_xpm_data’ from incompatible pointer type [-Wincompatible-pointer-types]
505 | pixbuf = gdk_pixbuf_new_from_xpm_data (xpm);
| ^~~
| |
| gchar ** {aka char **} In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34,
from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37,
from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from toolbar.h:28,
from toolbar.c:27: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:294:55: note: expected ‘const char **’ but argument is of type ‘gchar **’ {aka ‘char **’}
294 | GdkPixbuf *gdk_pixbuf_new_from_xpm_data (const char **data);
| ~~~~~~~~~~~~~^~~~
color.c: In function ‘on_color_palette_entry_button_press_event’: color.c:178:17: error: implicit declaration of function ‘notify_brush_of_fg_color_change’ [-Werror=implicit-function-declaration]
178 | notify_brush_of_fg_color_change();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pixbuf-file-chooser.c: In function ‘pixbuf_file_chooser_class_init’: pixbuf-file-chooser.c:91:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
91 | g_type_class_add_private (object_class, sizeof (PixbufFileChooserPrivate));
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from pixbuf-file-chooser.h:29,
from pixbuf-file-chooser.c:30: /usr/include/glib-2.0/gobject/gtype.h:1495:10: note: declared here
1495 | void g_type_class_add_private (gpointer g_class,
| ^~~~~~~~~~~~~~~~~~~~~~~~
pixbuf-file-chooser.c: In function ‘pixbuf_file_chooser_init’: pixbuf-file-chooser.c:97:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
97 | chooser->priv = PIXBUF_FILE_CHOOSER_GET_PRIVATE (chooser);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function ‘main’:
main.c:83:9: error: implicit declaration of function ‘gtk_set_locale’; did you mean ‘gdk_set_locale’? [-Werror=implicit-function-declaration]
83 | gtk_set_locale ();
| ^~~~~~~~~~~~~~
| gdk_set_locale
cc1: some warnings being treated as errors
main.c: In function ‘on_menu_about_activate’:
main.c:195:9: error: implicit declaration of function ‘gtk_about_dialog_set_name’; did you mean ‘gtk_about_dialog_set_logo’? [-Werror=implicit-function-declaration]
195 | gtk_about_dialog_set_name ( dlg, "gnome-paint" );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| gtk_about_dialog_set_logo
make[4]: *** [Makefile:706: gnome_paint-cv_resize.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 304 |
Nodes: | 16 (2 / 14) |
Uptime: | 32:51:29 |
Calls: | 6,820 |
Files: | 12,335 |
Messages: | 5,407,068 |