https://bugzilla.wikimedia.org/show_bug.cgi?id=24357

Ashar Voultoiz <has...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |has...@free.fr

--- Comment #3 from Ashar Voultoiz <has...@free.fr> 2010-09-30 21:25:53 UTC ---
Tim : maybe you have a different Zend API version which returns a const.

You made the ret variable a constant :  
  const Wikidiff2::String & ret = wikidiff2.execute(text1String, text2String,
numContextLines);

But my Zend_API.h specify a char* (the variable is 's' below):

#define ZVAL_STRINGL(z, s, l, duplicate) {  \
        char *__s=(s); int __l=l;       \
        (z)->value.str.len = __l;       \
        (z)->value.str.val = (duplicate?estrndup(__s, __l):__s);    \
        (z)->type = IS_STRING;          \
    }


My zend_API.h :
/* $Id: zend_API.h,v 1.207.2.8.2.9 2007/12/31 07:20:02 sebastian Exp $ */

$ phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519

$ php -version
PHP 5.2.12 (cli) (built: Feb  9 2010 00:34:23) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans

$ gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to