Re: Zend_operatros.c

From: Date: Thu, 22 Aug 2002 18:20:39 +0000
Subject: Re: Zend_operatros.c
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-87312@lists.php.net to get a copy of this message
At 20:05 22.08.2002, Zeev Suraski wrote:
What platform?
Mandrake 8.2: gcc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk) any more infos needed?
At 20:48 22/08/2002, Marcus Börger wrote:
But when i drop that include line i get the following: gcc -IZend/ -I/usr/src/php4/Zend/ -DPHP_ATOM_INC -I/usr/src/php4/include -I/usr/src/php4/main .... /src/php4/Zend/zend_operators.c -fPIC -DPIC -o Zend/zend_operators.lo .... /usr/src/php4/Zend/zend_operators.c: In function `zend_string_to_double': /usr/src/php4/Zend/zend_operators.c:76: warning: implicit declaration of function `toupper' /usr/src/php4/Zend/zend_operators.c: In function `zend_str_tolower': /usr/src/php4/Zend/zend_operators.c:1580: warning: implicit declaration of function `tolower' make: *** Deleting file `Zend/zend_operators.lo' make: *** [Zend/zend_operators.lo] Error 1 At 18:42 22.08.2002, Zeev Suraski wrote:
ctype.h is already there..? At 19:24 22/08/2002, Marcus Boerger wrote:
Zend_operators.c is missing ctype.h for toupper/tolower But i do not know if this place is a good idea marcus cvs -z3 -q diff -w Zend\zend_operators.c (in directory S:\php4\) Index: Zend/zend_operators.c =================================================================== RCS file: /repository/ZendEngine2/zend_operators.c,v retrieving revision 1.132 diff -u -w -r1.132 zend_operators.c
--- Zend/zend_operators.c       19 Aug 2002 20:58:22 -0000      1.132
+++ Zend/zend_operators.c       22 Aug 2002 16:22:24 -0000
@@ -24,6 +24,7 @@ #include "zend_list.h" #include "zend_fast_cache.h" #include "zend_API.h" +#include <ctype.h> #if 0&&WITH_BCMATH #include "ext/bcmath/number.h" -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#87312) next »