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. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice