getting XI error codes - implicit declaration issue
beier at informatik.hu-berlin.de
Fri Sep 11 07:19:46 PDT 2009
there seems to be a little issue with the way one registers for XInput
error codes: if i'm not totally wrong, these are defined nowhere, but
dynamically generated and one has to get the actual values via macros
like BadDevice(). But: (at least with git master xorg) this one
evaluates to _xibaddevice(), defined in libXi/src/XExtInt.c, which in
turn seems to be a private symbol in libxi, as i get 'implicit
declaration of function _xibaddevice' warnings while compiling my app.
while it seems to work okay, shouldn the _xibaddevice declaration made
public or the macro be turned into a function?
what is, is;
what is not is possible.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
More information about the xorg