getting XI error codes - implicit declaration issue

Christian Beier beier at informatik.hu-berlin.de
Fri Sep 11 07:19:46 PDT 2009


Hi there,
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?

cheers, 
   christian

-- 
what is, is;
what is not is possible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090911/02726c09/attachment.pgp>


More information about the xorg mailing list