Hello,
In vcl, compilation of master failed with these messages :
/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx: In
function ‘KeySym sal_XModifier2Keysym(Display*, XModifierKeymap*, int)’:
/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx:785:12:
error: ‘KeySym XKeycodeToKeysym(Display*, XLIB_KeyCode, int)’ is deprecated
(declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx:787:32:
error: ‘KeySym XKeycodeToKeysym(Display*, XLIB_KeyCode, int)’ is deprecated
(declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx: In
member function ‘KeySym SalDisplay::GetKeySym(XKeyEvent*, unsigned char*,
int*, KeySym*, int*, XIC) const’:
/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx:1486:26:
error: ‘KeySym XKeycodeToKeysym(Display*, XLIB_KeyCode, int)’ is deprecated
(declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx:1486:76:
error: ‘KeySym XKeycodeToKeysym(Display*, XLIB_KeyCode, int)’ is deprecated
(declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make[1]: ***
[/home/julien/compile-libreoffice/libo/workdir/unxlngx6/CxxObject/vcl/unx/generic/app/saldisp.o]
Erreur 1
make[1]: *** Attente des tâches non terminées....
/home/julien/compile-libreoffice/libo/vcl/unx/generic/dtrans/X11_selection.cxx:
In member function ‘bool x11::SelectionManager::handleDragEvent(XEvent&)’:
/home/julien/compile-libreoffice/libo/vcl/unx/generic/dtrans/X11_selection.cxx:2734:23:
error: ‘KeySym XKeycodeToKeysym(Display*, XLIB_KeyCode, int)’ is deprecated
(declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
/home/julien/compile-libreoffice/libo/vcl/unx/generic/dtrans/X11_selection.cxx:2734:78:
error: ‘KeySym XKeycodeToKeysym(Display*, XLIB_KeyCode, int)’ is deprecated
(declared at /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make[1]: ***
[/home/julien/compile-libreoffice/libo/workdir/unxlngx6/CxxObject/vcl/unx/generic/dtrans/X11_selection.o]
Erreur 1
Since /home/julien/compile-libreoffice/libo/vcl/unx/generic/app/saldisp.cxx
hasn't changed recently and that compilation was OK yesterday, it must be
due to my last update of Debian today (x86-64).
Xlib.h is from the package libx11-dev
The version is : 2:1.4.99.901-2
So I propose this patch :
http://nabble.documentfoundation.org/file/n3978158/proposed_patch_vcl.txt
proposed_patch_vcl.txt
Any idea about this ?
Julien.
--
View this message in context:
http://nabble.documentfoundation.org/PATCH-Proposed-patch-for-XKeycodeToKeysym-deprecated-tp3978158.html
Sent from the Dev mailing list archive at Nabble.com.
Context
- [PATCH] Proposed patch for XKeycodeToKeysym deprecated · julien2412
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.