Re: win32 compilation failure
| From: | Andrei Zmievski | Date: | Fri, 24 Feb 2006 05:03:10 +0000 |
| Subject: | Re: win32 compilation failure | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2434@lists.php.net to get a copy of this message | ||
I committed a patch. Do you still get this error?
-Andrei
On Feb 20, 2006, at 11:24 PM, xxoes wrote:
Next error: ext\gtk+\php_gtk+_types.c(500) : error C2061: syntax error : identifier 'int32_t' ext\gtk+\php_gtk+_types.c(503) : error C2059: syntax error : '}' ext\gtk+\php_gtk+_types.c(515) : error C2275: "phpg_modelrow_t" : illegal use of this type as an expressionext\gtk+\php_gtk+_types.c(492) : see declaration of 'phpg_modelrow_t' ext\gtk+\php_gtk+_types.c(515) : error C2065: 'row' : undeclared identifier ext\gtk+\php_gtk+_types.c(521) : warning C4047: '=' : 'int' differs in levels of indirection from 'void *' ext\gtk+\php_gtk+_types.c(522) : error C2223: left of '->model' must point to struct/union ext\gtk+\php_gtk+_types.c(522) : error C2223: left of '->iter' must point to struct/union... It's in that code: ----------- /* {{{ GtkTreeModelRow and GtkTreeModelRowIter */ typedef struct { PHPG_OBJ_HEADER GtkTreeModel *model; GtkTreeIter iter; } phpg_modelrow_t; typedef struct { PHPG_OBJ_HEADER GtkTreeModel *model; GtkTreeIter iter; GtkTreeIter *parent_iter; gboolean is_valid; int32_t index; zval *current; zend_object_iterator ziter; } phpg_modelrowiter_t; PHP_GTK_API PHP_GTK_EXPORT_CE(gtktreemodelrow_ce) = NULL; PHP_GTK_API PHP_GTK_EXPORT_CE(gtktreemodelrowiter_ce) = NULL; static zend_object_handlers gtktreemodelrow_handlers; ----------- "int32_t index" is line 500 mfg xxoes Andrei Zmievski schrieb:should be fixed -Andrei On Feb 19, 2006, at 11:59 PM, Christian Weiske wrote:--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHello all, The win32 build is broken again: -------- ext\gtk+\php_gtk+_types.c(404) : error C2082: Neudefinition des formalen Parameters "tsrm_ls" ext\gtk+\php_gtk+_types.c(501) : error C2061: Syntaxfehler : Bezeichner 'int32_t' ext\gtk+\php_gtk+_types.c(504) : error C2059: Syntaxfehler : '}' -------- That would be in english: Redefinition of the formal parameter "tsrm_ls" syntax error: identifier int32_t syntax error: } It's in that code: ----------- /* {{{ GtkTreeModel */ int phpg_model_set_row(GtkTreeModel *model, GtkTreeIter *iter, zval *items TSRMLS_DC) {gint n_cols, i; GtkTreeModel *child; GtkTreeIter child_iter; zval **item; TSRMLS_FETCH();----------- the last one is line 404 --Regards/MfG, Christian Weiske --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php