PHP 4.0 Bug #3392: compilation error on parsedate.y

From: Date: Thu, 03 Feb 2000 09:23:44 +0000
Subject: PHP 4.0 Bug #3392: compilation error on parsedate.y
Groups: php.dev 
Request: Send a blank email to php-dev+get-15163@lists.php.net to get a copy of this message
From: petr.husak@meiller.com Operating system: hpux 10.20 PHP version: 4.0 Latest CVS (03/02/2000) PHP Bug Type: Compile Failure Bug description: compilation error on parsedate.y There are assigments like this: struct tm *X; X = localtime_r(&a,&b); But return type of localtime_r function is declared as int. I replaced localtime_r(&a,&b) with localtime(&a) (&b was not used) and it seems it will work. Similar problem appears in files: ext/standard/parsedate.y ext/standard/datetime.c main.c Yours Sincerely Petr Husak

« previous php.dev (#15163) next »