Re: intl 1.0.0RC1
| From: | Darren Cook | Date: | Wed, 28 May 2008 00:28:07 +0000 |
| Subject: | Re: intl 1.0.0RC1 | ||
| References: | 1 2 3 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1225@lists.php.net to get a copy of this message | ||
> Well, I'm not sure how these macros can be included without conflicting
> with 5.2.4 where these macros are already defined in system config.
Sorry, I don't know either. It seems like redefining a macro should be a
common need however.
> Something is wrong here - this line is specifically surrounded with
> #if !defined(HAVE_PTRDIFF_T) && !defined(_PTRDIFF_T_DEFINED)
> how happens it's executed?
> My php_config.h has #define HAVE_PTRDIFF_T 1 - does yours? If not, does
> your configure.in have check for ptrdiff?
The only ptrdiff reference in php_config.h is:
/* The size of `ptrdiff_t', as computed by sizeof. */
#define SIZEOF_PTRDIFF_T 4
I don't have a configure.in (under either /usr/include/php5 or
/usr/lib/php5), and no references to ptrdiff or PTRDIFF inside any file
in /usr/lib/php5/build.
Looking through cvs, it seems something ptrdiff-related was added to
configure.in 11 months ago:
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.628&r2=1.629
Is this another php 5.2.4 dependency? What do I need to add to
php_config.h, on a 32-bit OS, to get past this?
Thanks for your help,
Darren
--
Darren Cook
http://dcook.org/mlsn/ (English-Japanese-German-Chinese free
dictionary)
http://dcook.org/work/ (About me and my work)
http://dcook.org/work/charts/ (My flash charting demos)