[RFC XI 2.1 - xserver 8/9] Input: Add initial multitouch support from Xi 2.1

Cyril Brulebois kibi at debian.org
Fri Nov 12 18:23:26 PST 2010


Chase Douglas <chase.douglas at canonical.com> (12/11/2010):
> --- a/include/inputstr.h
> +++ b/include/inputstr.h
> @@ -49,6 +49,8 @@ SOFTWARE.
>  #ifndef INPUTSTRUCT_H
>  #define INPUTSTRUCT_H
>  
> +#include <X11/extensions/XI2proto.h>
> +

This one makes everything explode, but I think xinput proto is to
blame: it uses types declared in <stdint.h> without including that
header.

So it goes fine as long as the #includer of XI2proto.h #includes
<stdint.h> before #including XI2proto.h, otherwise things do wild:
|   CC     enterleave.lo
| In file included from ../include/inputstr.h:53,
|                  from enterleave.c:34:
| /usr/include/X11/extensions/XI2proto.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FP1616’
| /usr/include/X11/extensions/XI2proto.h:110: error: expected specifier-qualifier-list before ‘int32_t’
| In file included from ../include/inputstr.h:53,
|                  from enterleave.c:34:
| /usr/include/X11/extensions/XI2proto.h:124: error: expected specifier-qualifier-list before ‘uint16_t’
| /usr/include/X11/extensions/XI2proto.h:141: error: expected specifier-qualifier-list before ‘uint16_t’
| […]

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101113/cd5d5eb9/attachment.pgp>


More information about the xorg-devel mailing list