On Tue, Apr 25, 2006 at 04:26:39AM +0300, Guillem Jover wrote:
> Hi,
> 
> On Tue, 2006-04-11 at 06:14:58 +0300, Guillem Jover wrote:
> > This patch by Andreas Jochens <[EMAIL PROTECTED]>, fixes a build failure
> > on amd64 due to types clashing by including 'dfb_types.h' instead
> > of 'asm/types.h' (needs to be applied after the fbdev one, or just
> > ignore the error from the missing file).
> 
> There has been another build failure on Debian GNU/Linux amd64, due
> to the redefinition of kernel types from userland. Here's a better
> approach, rename all kernel types from userland to proper userland
> ones. I've chosen the inet types as they are the ones currently used
> in "dfb_types.h", but those could be changed to use <stdint.h> as well.

I vote for stdint.h/inttypes.h because that eliminates one unecessary 
underscore in the unsigned types. Unfortunately that still leaves 
unecessary crap in the type names ('int' and '_t'). Would s8,u8,... 
create more problems? The kernel at least shouldn't expose those types 
to user-space.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to