[Cvs] win32 compile error

[email protected] (Markus Fischer) Mon, 13 Aug 2001 15:11:55 +0200
Newsgroups php.gtk
Message-ID <[email protected]>
Prenote: Linux builds fine

[snipped usual build output]
--------------------Configuration: php_gtk - Win32 Release_TS--------------------
Compiling...
php_gdk.c
php_gtk.c
php_gtk_ext.w32.c
php_gtk_object.c
php_gtk_util.c
gen_gdk.c
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\ext\gtk+\gen_gdk.c(1272) : error C2065: 'zif_gdk_draw_pixmap' : undeclared identifier
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\ext\gtk+\gen_gdk.c(1272) : error C2099: initializer is not a constant
gen_gtk.c
php_gtk+.c
php_gtk+_types.c
Error executing cl.exe.

gdk_draw_pixmap gets defined as
	{"draw_pixmap",	PHP_FN(gdk_draw_pixmap),	NULL},
in line 1272 in gen_gdk.c

seems quite correct compared to the other entries ...
its later defined:

PHP_FUNCTION(gdk_draw_pixmap)
{
	GdkDrawable *drawable, *src;
[...]

looks fine too ...

However, commenting it out works (and even working with
pixmap does) ...

- Markus

-- 
Markus Fischer,  http://guru.josefine.at/~mfischer/
EMail:         [email protected]
PGP Public  Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0
              -All your scripts are belong to Zend-