Bug #5661 Updated: undeclared function

From: Date: Sat, 28 Apr 2001 20:13:36 +0000
Subject: Bug #5661 Updated: undeclared function
Groups: php.dev 
Request: Send a blank email to php-dev+get-52790@lists.php.net to get a copy of this message
ID: 5661 Updated by: zeev Reported By: phil@kasteldevelopment.com Old-Status: Assigned Status: Closed Bug Type: Compile Failure PHP Version: 4.0.1pl2 Assigned To: zeev Comments: Previous Comments: --------------------------------------------------------------------------- [2000-11-23 18:14:13] sniper@php.net Is this still a problem when using PHP 4.0.3pl1 ? It shouldn't be..you're using linux which should have limits.h. Or your system is somehow messed up. --Jani --------------------------------------------------------------------------- [2000-07-28 23:01:33] hholzgra@php.net in php.h we have: #ifndef LONG_MAX #define LONG_MAX 2147483647L #endif #ifndef LONG_MIN #define LONG_MIN (- LONG_MAX - 1) #endif just in cas limits.h is not there or does not define LONG_MAX maybe this should be done in zend.h to ? --------------------------------------------------------------------------- [2000-07-18 10:56:45] phil@kasteldevelopment.com linux:/mnt/files/programs/php4/php-4.0.1pl2# make Making all in Zend make[1]: Entering directory `/mnt/files/programs/php4/php-4.0.1pl2/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=12 -g -O2 -c zend_hash.c zend_hash.c: In function `zend_hash_add_or_update': zend_hash.c:237: `LONG_MAX' undeclared (first use in this function) zend_hash.c:237: (Each undeclared identifier is reported only once zend_hash.c:237: for each function it appears in.) zend_hash.c: In function `zend_hash_del_key_or_index': zend_hash.c:482: `LONG_MAX' undeclared (first use in this function) zend_hash.c: In function `zend_hash_find': zend_hash.c:801: `LONG_MAX' undeclared (first use in this function) zend_hash.c: In function `zend_hash_exists': zend_hash.c:851: `LONG_MAX' undeclared (first use in this function) make[1]: *** [zend_hash.lo] Error 1 make[1]: Leaving directory `/mnt/files/programs/php4/php-4.0.1pl2/Zend' make: *** [all-recursive] Error 1 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=5661&edit=2

« previous php.dev (#52790) next »