Re: Complie problems with win32

From: Date: Fri, 27 Jan 2006 04:59:35 +0000
Subject: Re: Complie problems with win32
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2298@lists.php.net to get a copy of this message
Tom, everything here's on hold 'til Monday. Thanks for the warning tho' ;) - Steph ----- Original Message ----- From: "Tom Rogers" <trogers@kwikin.com> To: <php-gtk-dev@lists.php.net> Sent: Friday, January 27, 2006 2:32 AM Subject: [PHP-GTK-DEV] Complie problems with win32
Hi Found a few typos and a compile error after getting latest CVS. The compile error (from gtk.overrides): gen_gtk.c ext\gtk+\gen_gtk.c(33137) : error C2275: 'zval' : illegal use of this type as an expression
       ..\php5\Zend\zend.h(265) : see declaration of 'zval'
Fixes below.... Index: gdk.overrides =================================================================== RCS file: /repository/php-gtk/ext/gtk+/gdk.overrides,v retrieving revision 1.41 diff -u -w -b -r1.41 gdk.overrides
--- gdk.overrides       15 Jan 2006 22:21:41 -0000      1.41
+++ gdk.overrides       27 Jan 2006 00:18:52 -0000
@@ -289,7 +289,7 @@
    GdkWindow *window;
    zval *php_window = NULL;
-    NO_STATIC_METHOD();
+    NOT_STATIC_METHOD();
    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
        return;
@@ -873,7 +873,7 @@
    GdkAxisUse axis_use;
    gdouble value;
-    NO_STATIC_METHOD();
+    NOT_STATIC_METHOD();
    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "V", &php_axis_use))
        return;
@@ -895,7 +895,7 @@ {
    gdouble x_win, y_win;
-    NO_STATIC_METHOD();
+    NOT_STATIC_METHOD();
    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
        return;
@@ -914,7 +914,7 @@ {
    gdouble x_win, y_win;
-    NO_STATIC_METHOD();
+    NOT_STATIC_METHOD();
    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
        return;
@@ -933,7 +933,7 @@ {
    GdkModifierType state = 0;
-    NO_STATIC_METHOD();
+    NOT_STATIC_METHOD();
    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
        return;
******************************************************** Index: gtk.overrides =================================================================== RCS file: /repository/php-gtk/ext/gtk+/gtk.overrides,v retrieving revision 1.147 diff -u -w -b -r1.147 gtk.overrides
--- gtk.overrides       24 Jan 2006 00:15:54 -0000      1.147
+++ gtk.overrides       27 Jan 2006 00:27:08 -0000
@@ -1173,14 +1173,13 @@ PHP_METHOD {
    zval *buttons = NULL;
+    zval **text, **response;
    NOT_STATIC_METHOD();
    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "a", &buttons))
        return;
-    zval **text, **response;
-
    if (zend_hash_num_elements(Z_ARRVAL_P(buttons)) % 2) {
        php_error(E_WARNING, "%s::%s(): button list has to contain pairs of items",
                    get_active_class_name(NULL TSRMLS_CC), get_active_function_name(TSRMLS_C));
-- 
Tom -- 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


« previous php.gtk.dev (#2298) next »