Hi there,
I'm using Gentoo ebuilds to install DirectFB from CVS. Everything
works except DFB++:

"In file included from ../include/dfb++.h:78,
                 from dfb++.cpp:28:
../include/idirectfbdisplaylayer.h:51: error: `__u8' has not been declared
../include/idirectfbdisplaylayer.h:51: error: ISO C++ forbids
declaration of `opacity' with no type"

The last two lines repeat about 5 times. Looking at the file
idirectfbwindow.cpp I see that the following lines appear:

void IDirectFBWindow::SetColorKey (__u8 r, __u8 g, __u8 b)
{
     DFBCHECK( iface->SetColorKey (iface, r, g, b) );
}

void IDirectFBWindow::SetColorKeyIndex (unsigned int index)
{
     DFBCHECK( iface->SetColorKeyIndex (iface, index) );
}

void IDirectFBWindow::SetOpacity (__u8 opacity)
{
     DFBCHECK( iface->SetOpacity (iface, opacity) );
}

The problems seem to be from "__u8" is this a known error? Is it
anything to do with codepages and the like, something which I'm fairly
ignorant of..



-- 
A l a s d a i r   C a m p b e l l

r a g a w u @ g m a i l . c o m

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

Reply via email to