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

Build errors while using deprecated functions/classes #1

Open
thopiekar opened this issue Jun 17, 2012 · 0 comments
Open

Build errors while using deprecated functions/classes #1

thopiekar opened this issue Jun 17, 2012 · 0 comments

Comments

@thopiekar
Copy link

Here the first error, which appears when building libhildondesktop..

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/hildon-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wall -Wmissing-prototypes -Wmissing-declarations -Werror -Wno-format-extra-args -DG_DISABLE_CAST_CHECKS -c example-clock-status-menu-item.c -fPIC -DPIC -o .libs/example_clock_status_menu_item_la-example-clock-status-menu-item.o
example-clock-status-menu-item.c: In function 'example_clock_status_menu_item_init':
example-clock-status-menu-item.c:109:3: error: 'gtk_hbox_new' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

OS: Ubuntu Precise (GTK3=3.4.2-0ubuntu0.2)

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