Build fails (-Werror=deprecated-declarations), vcl module

julien2412 serval2412 at yahoo.fr
Tue Apr 8 23:47:52 PDT 2014


Hello,

On pc Debian x86-64 with master sources updated today, I got this:
/home/julien/compile-libreoffice/libo/vcl/unx/gtk/a11y/atkimage.cxx: In
function ‘void image_get_image_position(AtkImage*, gint*, gint*,
AtkCoordType)’:
/home/julien/compile-libreoffice/libo/vcl/unx/gtk/a11y/atkimage.cxx:84:9:
error: ‘void atk_component_get_position(AtkComponent*, gint*, gint*,
AtkCoordType)’ is deprecated (declared at
/usr/include/atk-1.0/atk/atkcomponent.h:182): Use
'atk_component_get_extents' instead [-Werror=deprecated-declarations]
         atk_component_get_position( ATK_COMPONENT( image ), x, y,
coord_type );
         ^
/home/julien/compile-libreoffice/libo/vcl/unx/gtk/a11y/atkimage.cxx:84:78:
error: ‘void atk_component_get_position(AtkComponent*, gint*, gint*,
AtkCoordType)’ is deprecated (declared at
/usr/include/atk-1.0/atk/atkcomponent.h:182): Use
'atk_component_get_extents' instead [-Werror=deprecated-declarations]
         atk_component_get_position( ATK_COMPONENT( image ), x, y,
coord_type );
                                                                             
^
cc1plus: all warnings being treated as errors

I haven't tried the proposed change for the moment but if someone would like
to take a look...

Julien



--
View this message in context: http://nabble.documentfoundation.org/Build-fails-Werror-deprecated-declarations-vcl-module-tp4104605.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list