/usr/include/X11/extensions/XIproto.h contains reserved C++ keyword
Bug #284603 reported by
Simon Hausmann
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x11proto-input (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The file /usr/include/
This happens for example when compiling toolkits, such as Qt.
The offending code in question:
typedef struct {
CARD8 reqType; /* input extension major opcode */
CARD8 ReqType; /* always X_ChangeDeviceP
CARD16 length B16;
Atom property B32;
Atom type B32;
CARD32 longOffset B32;
CARD32 longLength B32;
CARD8 deviceid;
BOOL delete;
CARD16 pad;
} xGetDevicePrope
To post a comment you must log in.
Fixed by patch here: cgit.freedeskto p.org/xorg/ proto/inputprot o/diff/ ?id=fabe087cebb 11c6a2600e57c6f 7a52fda2efea29
http://