Bug #1904
fail to compile, XKeycodeToKeysym is deprecated (revision 83a88718)
Start date:
2014-11-20
% Done:
100%
Description
ubuntu 14.10 64bit
compiling with qtcreator
this is the output
/media/lvm/Src/deng/doomsday/libgui/src/input/keyevent.cpp:-1: In function 'int x11ScancodeToDDKey(int)':
/media/lvm/Src/deng/doomsday/libgui/src/input/keyevent.cpp:353: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations] KeySym sym = XKeycodeToKeysym(disp, scancode, 0);
https://stackoverflow.com/questions/9838385/replace-of-xkeycodetokeysym
Associated revisions
History
#1 Updated by skyjake about 10 years ago
- Tags set to X11, Input
- Status changed from New to In Progress
- Assignee set to skyjake
#2 Updated by skyjake about 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
#3 Updated by skyjake about 10 years ago
I replaced the deprecated function, however this shouldn't be leading to a build failure. Are you sure you are not missing any dependencies etc.?
#4 Updated by eunbolt almost 10 years ago
That fixed it.
#5 Updated by skyjake almost 10 years ago
- Status changed from Resolved to Closed
#6 Updated by skyjake almost 10 years ago
- Subject changed from fail to compile, XKeycodeToKeysym is deprecated (revision 83a887180c44d812bdd5aefca38d6be552ef6edb) to fail to compile, XKeycodeToKeysym is deprecated (revision 83a88718)
#7 Updated by skyjake over 9 years ago
- Target version deleted (
49)
Fixed|libgui|X11: Replaced use of deprecated XKeycodeToKeysym
Using solution from:
https://stackoverflow.com/questions/9838385/replace-of-xkeycodetokeysym
IssueID #1904