Both 1.4.x and trunk now fail to build with the current glib 2.31.x:
CCLD test-relay
internals/refs.c: In function 'test_connection':
internals/refs.c:279:9: error: 'g_thread_create' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' instead [-Werror=deprecated-declarations]
[...]
internals/refs.c: In function 'main':
internals/refs.c:598:3: error: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
The g_thread_* API has been deprecated in 2.31.x, and g_thread_init() is not necessary any more since 2.24 (g_type_init() cares about this).
Both 1.4.x and trunk now fail to build with the current glib 2.31.x:
CCLD test-relay refs.c: 279:9: error: 'g_thread_create' is deprecated (declared at /usr/include/ glib-2. 0/glib/ deprecated/ gthread. h:100): Use 'g_thread_new' instead [-Werror= deprecated- declarations]
internals/refs.c: In function 'test_connection':
internals/
[...]
internals/refs.c: In function 'main': refs.c: 598:3: error: 'g_thread_init' is deprecated (declared at /usr/include/ glib-2. 0/glib/ deprecated/ gthread. h:259) [-Werror= deprecated- declarations]
internals/
cc1: all warnings being treated as errors
The g_thread_* API has been deprecated in 2.31.x, and g_thread_init() is not necessary any more since 2.24 (g_type_init() cares about this).