ID: 8118
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Compile Failure
Operating system: MIPS V4
PHP Version: 4.0.3pl1
Description: error in much warnings in session.c

The error is still in 4.0.5:

        cc  -I. -I/home4/src/php-4.0.5/ext/session -I/home4/src/php-4.0.5/main -
I/home4/src/php-4.0.5 -I/home4/src/apache_1.3.14/src/include -I/home4/src/apache
_1.3.14/src/os/unix -I/home4/src/php-4.0.5/Zend -I/home4/src/php-4.0.5/ext/xml/e
xpat/xmltok -I/home4/src/php-4.0.5/ext/xml/expat/xmlparse -I/home4/src/php-4.0.5
/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g  -c session.c && touch session.lo  
session.c   533: [error]:   CFE1140 Zuviel Argumente im Funktionsaufruf         
        gettimeofday(&tv, NULL);                                                
                          ^                                                     
                                                                                
session.c   537: [warning]:   CFE1167 Argument des Typs "char *" ist unvertraegl
ich mit Parameter des Typs "const unsigned char *"                              
        PHP_MD5Update(&context, buf, strlen(buf));                              


Workaround in time.h:
add:
#ifndef _XPG_IV 
#define _XPG_IV 
#endif          

Previous Comments:
---------------------------------------------------------------------------

[2001-05-23 06:18:11] [EMAIL PROTECTED]
Does this happen with PHP 4.0.5 ??

--Jani


---------------------------------------------------------------------------

[2000-12-05 10:25:10] [EMAIL PROTECTED]
Is there the problem in configure ?
checking whether struct tm is in sys/time.h or time.h... time.h    


---------------------------------------------------------------------------

[2000-12-05 10:16:02] [EMAIL PROTECTED]
Is there the problem in configure ?
checking whether struct tm is in sys/time.h or time.h... time.h    


---------------------------------------------------------------------------

[2000-12-05 10:10:17] [EMAIL PROTECTED]
Last update from me:
At which place can i set _XPG_IV ?

Stefan

---------------------------------------------------------------------------

[2000-12-05 10:06:03] [EMAIL PROTECTED]
This is in the time.h:
#if defined(_XPG_IV)                           
int gettimeofday(struct timeval *, void *);    
#else                                          
int gettimeofday(struct timeval *);            



---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=8118


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to