vcl module fails to compile (3.5 branch)

julien2412 serval2412 at yahoo.fr
Sun Apr 29 01:15:48 PDT 2012


Hello,

In vcl module, branch 3.5 updated today, I've got this :
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx: In
function ‘void sal_gtk_timeout_defer(SalGtkTimeoutSource*)’:
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx:774:9:
error: ‘void g_source_get_current_time(GSource*, GTimeVal*)’ is deprecated
(declared at /usr/include/glib-2.0/glib/gmain.h:413): Use
'g_source_get_time' instead [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx:774:79:
error: ‘void g_source_get_current_time(GSource*, GTimeVal*)’ is deprecated
(declared at /usr/include/glib-2.0/glib/gmain.h:413): Use
'g_source_get_time' instead [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx: In
function ‘gboolean sal_gtk_timeout_prepare(GSource*, gint*)’:
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx:810:9:
error: ‘void g_source_get_current_time(GSource*, GTimeVal*)’ is deprecated
(declared at /usr/include/glib-2.0/glib/gmain.h:413): Use
'g_source_get_time' instead [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx:810:55:
error: ‘void g_source_get_current_time(GSource*, GTimeVal*)’ is deprecated
(declared at /usr/include/glib-2.0/glib/gmain.h:413): Use
'g_source_get_time' instead [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx: In
function ‘gboolean sal_gtk_timeout_check(GSource*)’:
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx:820:9:
error: ‘void g_source_get_current_time(GSource*, GTimeVal*)’ is deprecated
(declared at /usr/include/glib-2.0/glib/gmain.h:413): Use
'g_source_get_time' instead [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo_3_5/vcl/unx/gtk/app/gtkdata.cxx:820:55:
error: ‘void g_source_get_current_time(GSource*, GTimeVal*)’ is deprecated
(declared at /usr/include/glib-2.0/glib/gmain.h:413): Use
'g_source_get_time' instead [-Werror=deprecated-declarations]

The number of arguments between the deprecated  and the new function is
different so how to solve this (without disabling WaE) ?

Julien.



--
View this message in context: http://nabble.documentfoundation.org/vcl-module-fails-to-compile-3-5-branch-tp3947926.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list