Bug #8118 Updated: error in much warnings in session.c
| From: | stefan dot marquardt at hagebau dot de | Date: | Wed, 23 May 2001 15:27:05 +0000 |
| Subject: | Bug #8118 Updated: error in much warnings in session.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56494@lists.php.net to get a copy of this message | ||
ID: 8118
User Update by: stefan.marquardt@hagebau.de
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] sniper@php.net
Does this happen with PHP 4.0.5 ??
--Jani
---------------------------------------------------------------------------
[2000-12-05 10:25:10] stefan.marquardt@hagebau.de
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] stefan.marquardt@hagebau.de
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] stefan.marquardt@hagebau.de
Last update from me:
At which place can i set _XPG_IV ?
Stefan
---------------------------------------------------------------------------
[2000-12-05 10:06:03] stefan.marquardt@hagebau.de
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