On Sun, Mar 23, 2003 at 11:54:48PM +0100, Sven Neumann wrote:
> Hi,

Hi Sven,

> Please report any problems you might have with the updated
> gtk+-directfb. I'd like to do an updated release soon and would like
> to eliminate possible problems beforehand. I haven't done much testing
> on the code in CVS, so your testing is appreciated.

Okie.  I am currently tracking down the cause of:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk-DirectFB\" -I../.. 
-I../../gdk -I../../gdk -DG_ENABLE_DEBUG -D_REENTRANT -D_REENTRANT 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/directfb 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2 -g -O2 -g 
-Wall -Wp,-MD,.deps/gdkcolor-directfb.pp -c gdkcolor-directfb.c  -fPIC -DPIC -o 
gdkcolor-directfb.lo
In file included from gdkcolor-directfb.c:40:
gdkprivate-directfb.h:47: parse error before '*' token
gdkprivate-directfb.h:47: warning: type defaults to `int' in declaration of 
`_gdk_display'
gdkprivate-directfb.h:47: warning: data definition has no type or storage class
gdkcolor-directfb.c: In function `gdk_screen_get_system_colormap':
gdkcolor-directfb.c:205: warning: implicit declaration of function 
`gdk_screen_get_system_visual'
gdkcolor-directfb.c:205: warning: initialization makes pointer from integer without a 
cast
gdkcolor-directfb.c: In function `gdk_colormap_get_screen':
gdkcolor-directfb.c:474: warning: implicit declaration of function 
`gdk_screen_get_default'
gdkcolor-directfb.c:474: warning: return makes pointer from integer without a cast
make[3]: *** [gdkcolor-directfb.lo] Error 1
make[3]: Leaving directory `/usr/src/gnome/gtk+/gdk/directfb'

I was going to do a bit more homework to decide if this is a
gtk+-directfb problem or a local build tree problem before reporting,
but since you asked...  :-)

So far, I have determined that the error is caused by this declaration
in gdkprivate-directfb.h:

  extern GdkDisplay         * _gdk_display;

yet I (or rather ctags and grep) are unable to find a definition of
GdkDisplay in the (or rather my) gtk+ tree.  I am using tag GTK_2_0_9
from CVS.

I was just about to do some hunting to determine if/where GdkDisplay
should be defined.  If you can save me a few minutes and shed some
light, that would be great.

b.

-- 
Brian J. Murrell

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to