Bug 13845 - render.h doesn't include necessary includes to define XID
Summary: render.h doesn't include necessary includes to define XID
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: xorg-x11-proto-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 21:07 MSK by nbr
Modified: 2008-01-03 11:35 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nbr 2008-01-01 21:07:32 MSK
Кусок кода 
#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 nbr 2008-01-01 21:09:03 MSK
не из файла randr.h а из 
/usr/include/X11/extensions/render.h
Comment 2 nbr 2008-01-01 21:56:17 MSK
attempt to compile xorg server with includes from different xorg