[Users] deprecated warning message when compiling claws-mail
M. Sulchan Darmawan
bleketux at gmail.com
Thu Jan 7 08:53:09 CET 2021
Hello,
Recently I just upgraded to latest git. After configuring using
autogen.sh, then I do "make". It shows a lot of deprecated warning
message.
Is it safe, or how to avoid it?
I am using linux mint 20 (ulyana).
during "make", it shows:
/bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/common -I../../../src -I../../../src/gtk -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DHAVE_LIBZ -g -O2 -Wno-unused-function -Wno-pointer-sign -Wall -D_GNU_SOURCE -g -Wno-pointer-sign -DUSE_MAINTAINER_MODE -MT spamassassin_la-spamassassin.lo -MD -MP -MF .deps/spamassassin_la-spamassassin.Tpo -c -o spamassassin_la-spamassassin.lo `test -f 'spamassassin.c' || echo './'`spamassassin.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/common -I../../../src -I../../../src/gtk -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DHAVE_LIBZ -g -O2 -Wno-unused-function -Wno-pointer-sign -Wall -D_GNU_SOURCE -g -Wno-pointer-sign -DUSE_MAINTAINER_MODE -MT spamassassin_la-spamassassin.lo -MD -MP -MF .deps/spamassassin_la-spamassassin.Tpo -c spamassassin.c -fPIC -DPIC -o .libs/spamassassin_la-spamassassin.o
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from ../../../src/gtk/prefswindow.h:24,
from ../../../src/prefs_account.h:47,
from ../../../src/procmsg.h:163,
from spamassassin.c:42:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from ../../../src/common/utils.h:36,
from spamassassin.c:40:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from ../../../src/gtk/prefswindow.h:24,
from ../../../src/prefs_account.h:47,
from ../../../src/procmsg.h:163,
from spamassassin.c:42:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from ../../../src/common/defs.h:26,
from spamassassin.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
Please advice, thanks.
Sulchan
More information about the Users
mailing list