URL:
http://gna.org/bugs/?23390
Summary: freeciv-mp-gtk2 uses deprecated
g_thread_init/g_thread_create
Project: Freeciv
Submitted by: jtn
Submitted on: Sat 14 Mar 2015 20:04:55 UTC
Category: module installer
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 2.5.0
Discussion Lock: Any
Operating System: GNU/Linux
Planned Release:
___
Details:
While building 2.5.0 without --enable-debug I noticed the following warnings
going by for freeciv-mp-gtk2:
CC freeciv_mp_gtk2-mpgui_gtk2.o
mpgui_gtk2.c: In function ‘gui_download_modpack’:
mpgui_gtk2.c:300:3: warning: ‘g_thread_create’ is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new'
instead [-Wdeprecated-declarations]
downloader = g_thread_create(download_thread, URLbuf, FALSE, NULL);
^
mpgui_gtk2.c: In function ‘main’:
mpgui_gtk2.c:566:3: warning: ‘g_thread_init’ is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:261)
[-Wdeprecated-declarations]
g_thread_init(NULL);
^
Haven't checked other branches / flavours.
___
Reply to this item at:
http://gna.org/bugs/?23390
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev