Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.