PHP 4.0 Bug #8118 Updated: error in much warnings in session.c
| From: | stefan dot marquardt at hagebau dot de | Date: | Tue, 05 Dec 2000 15:01:58 +0000 |
| Subject: | PHP 4.0 Bug #8118 Updated: error in much warnings in session.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40135@lists.php.net to get a copy of this message | ||
ID: 8118
User Update by: stefan.marquardt@hagebau.de
Status: Open
Bug Type: Compile Failure
Description: error in much warnings in session.c
here is the man gettimeofday:
#include <sys/time.h>
int gettimeofday(struct timeval *tp, void *tzp);
int settimeofday(struct timeval *tp);
Previous Comments:
---------------------------------------------------------------------------
[2000-12-05 09:56:28] stefan.marquardt@hagebau.de
session.c:
510 gettimeofday(&tv, NULL);
error: too much arguments
if tried do delete NULL and it seems to work.
All the time i get warnings like:
math.c 718: ÄwarningÜ: CFE1111 Anweisung unerreichbar
break;
gettomeofday seems to have the wrong syntax for MIPS or my cc is bad ??
microtime.c 57: ÄerrorÜ: CFE1140 Zuviel Argumente im Funktionsaufruf
if (gettimeofday((struct timeval *) &tp, (NUL)) == 0) ä
It is a C Compiler on a Reliant Unix 5.43 RM400 machine(Sinix)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8118