kernelhcy/gtkqq — Issue #39: 紧急bug：请修改qqtypes.c的qq_info_new函数！
Author: billzt
Created: 2011-12-28 00:47:07+00:00
State: open

在 Ubuntu 12.04 上编译时发生错误：

qqtypes.c: In function 'qq_info_new':
qqtypes.c:26:5: error: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:271) [-Werror=deprecated-declarations]
qqtypes.c: In function 'qq_info_free':
qqtypes.c:94:5: error: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:273) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

大概原因：g_mutex_new()函数在新版系统中已被废弃
http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html
请换成别的吧，离Ubuntu12.04发布也不到五个月时间了～