[Dri-devel] dri build fails (drm stuff)

2004-04-22 Thread Roland Scheidegger
(current cvs of course). In file included from xf86drmCompat.c:83: /usr/tmp/dri/drm/linux/i830_drm.h:293: variable or field `__user' declared void /usr/tmp/dri/drm/linux/i830_drm.h:293: warning: no semicolon at end of struct or union /usr/tmp/dri/drm/linux/i830_drm.h:293: parse error before '*'

Re: [Dri-devel] dri build fails (drm stuff)

2004-04-22 Thread Dave Airlie
ah crap didn't see this, I've checked in a fix to xf86drmCompat.h but I don't like it... anyone any ideas on this __user is Linus static checker, I could define I suppose __DRM_USER and define it to __user for Linux, what I'm doing now is just checking for __user but it does smack a bit of names

RE: [Dri-devel] dri build fails (drm stuff)

2004-04-23 Thread sergiomb
Re: [Dri-devel] dri build fails (drm stuff) ah crap didn't see this, I've checked in a fix to xf86drmCompat.h but I don't like it... anyone any ideas on this __user is Linus static checker, I could define I suppose __DRM_USER and define it to __user for Linux, what I'm doing n

Re: [Dri-devel] dri build fails (drm stuff)

2004-04-23 Thread Ian Romanick
Dave Airlie wrote: ah crap didn't see this, I've checked in a fix to xf86drmCompat.h but I don't like it... anyone any ideas on this __user is Linus static checker, I could define I suppose __DRM_USER and define it to __user for Linux, what I'm doing now is just checking for __user but it does sma

Re: [Dri-devel] dri build fails (drm stuff)

2004-04-23 Thread Alan Cox
On Gwe, 2004-04-23 at 18:52, Ian Romanick wrote: > I'm not too familiar with __user. What is it's purpose? Is it only > meaningful when building in the kernel? It identifies a pointer as being to user not kernel data. That means you can then do checks that it is only accessed through the right