logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: win32 compilation failure: msg#00134

Subject: Re: win32 compilation failure
CVS HEAD version works now.  Fussy compiler...

----- Original Message ----- From: "xxoes" <xxoes@xxxxxx>
To: <php-gtk-dev@xxxxxxxxxxxxx>
Sent: Friday, February 24, 2006 11:12 AM
Subject: Re: [PHP-GTK-DEV] win32 compilation failure


No,
but now there is a new error:

php_gtk+_types.c
ext\gtk+\php_gtk+_types.c(515) : error C2275: "phpg_modelrow_t" : illegal use of this type as an expression ext\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 ext\gtk+\php_gtk+_types.c(522) : warning C4047: 'Funktion' : 'GtkTreeModel *' differs in levels of indirection from 'void *** ' ext\gtk+\php_gtk+_types.c(522) : error C2198: 'phpg_modelrowiter_new' : too few actual parameters
NMAKE : fataler Fehler U1077: 'cl' : Rueckgabe-Code '0x2'



It's in that code:
-------------
static void phpg_modelrowiter_new(zval **zobj, GtkTreeModel *model, GtkTreeIter *parent_iter TSRMLS_DC);

static PHP_METHOD(GtkTreeModelRow, children)
{
   NOT_STATIC_METHOD();
   phpg_modelrow_t *row;

   if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "")) {
       return;
   }

   row = zend_object_store_get_object(this_ptr TSRMLS_CC);
   phpg_modelrowiter_new(&return_value, row->model, &row->iter TSRMLS_CC);
}
-------------

"phpg_modelrow_t *row;" is line 515



mfg xxoes


Andrei Zmievski schrieb:

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 expression ext\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:

Hello 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




--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


__________ NOD32 1.1380 (20060125) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>