Bug 13845 - render.h doesn't include necessary includes to define XID
: render.h doesn't include necessary includes to define XID
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/xorg-x11-proto-devel)
: unstable
: all Linux
: P2 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-01-01 21:07 by
Modified: 2008-01-03 11:35 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-01 21:07:32
Кусок кода 
#ifndef _RENDER_H_
#define _RENDER_H_

typedef XID             Glyph;
typedef XID             GlyphSet;
typedef XID             Picture;
typedef XID             PictFormat;

из файла randr.h
вызывает ошибки
In file included from /usr/include/X11/extensions/renderproto.h:30,
                 from glyphstr.h:29,
                 from picturestr.h:29,
                 from renderedge.h:28,
                 from renderedge.c:29:
/usr/include/X11/extensions/render.h:29: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'Glyph'
/usr/include/X11/extensions/render.h:30: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'GlyphSet'
/usr/include/X11/extensions/render.h:31: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'Picture'
/usr/include/X11/extensions/render.h:32: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'PictFormat'
------- Comment #1 From 2008-01-01 21:09:03 -------
не из файла randr.h а из 
/usr/include/X11/extensions/render.h
------- Comment #2 From 2008-01-01 21:56:17 -------
attempt to compile xorg server with includes from different xorg