Latest CVS doesn't compile under win32, help seeked
| From: | Markus Fischer | Date: | Fri, 27 Jul 2001 00:05:42 +0000 |
| Subject: | Latest CVS doesn't compile under win32, help seeked | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2363@lists.php.net to get a copy of this message | ||
The MSVC generated output reads:
--------------------Configuration: php_gtk - Win32 Release_TS--------------------
Compiling...
php_gtk.c
php_gtk_ext.w32.c
php_gtk_object.c
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\main\php_gtk_object.c(629) : error C2065:
'gtk_object_ce' : undeclared identifier
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\main\php_gtk_object.c(629) : error C4047:
'function' : 'struct _zend_class_entry *' differs in levels of indirection from
'int '
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\main\php_gtk_object.c(629) : warning C4024:
'php_gtk_check_class' : different types for formal and actual parameter 2
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\main\php_gtk_object.c(902) : error C4047:
'function' : 'struct _zend_class_entry *' differs in levels of indirection from
'int '
C:\cygwin\home\mfischer\isrc\cvs\php-gtk\main\php_gtk_object.c(902) : warning C4024:
'php_gtk_check_class' : different types for formal and actual parameter 2
php_gtk_util.c
gen_gdk.c
gen_gtk.c
php_gtk+.c
php_gtk+_types.c
Error executing cl.exe.
php_gtk.dll - 3 error(s), 2 warning(s)
The lines in question are:
if (Z_TYPE_P(value) == IS_OBJECT && php_gtk_check_class(value, gtk_object_ce))
and
if (Z_TYPE_P(value) == IS_OBJECT && php_gtk_check_class(value, gtk_object_ce))
I can't find anything abnormal, gtk_object_ce is exported from
ext\gtk+\gen_gtk.c as follows:
PHP_GTK_EXPORT_CE(gtk_object_ce);
and latest also initialised, etc.
Btw, same cvs checkout gives no problems under linux.
- Markus
--
Markus Fischer, http://guru.josefine.at/~mfischer/
EMail: mfischer@guru.josefine.at
PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0