Re: PHP 4.0 Bug #3948: php-4.0beta_PL_1 - Compile failure at parsedate.y

From: Date: Tue, 28 Mar 2000 23:10:59 +0000
Subject: Re: PHP 4.0 Bug #3948: php-4.0beta_PL_1 - Compile failure at parsedate.y
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-17334@lists.php.net to get a copy of this message
On Tue, Mar 28, 2000 at 05:47:56PM -0000, kannan_narayanan@hotmail.com wrote: > From: kannan_narayanan@hotmail.com > Operating system: HP-UX10.20 > PHP version: 4.0 Beta 4 Patch Level 1 > PHP Bug Type: Compile Failure > Bug description: php-4.0beta_PL_1 - Compile failure at parsedate.y > > > PHP 4.0 Beta Patch Level 1 fails to compile on HP-UX10.20. This is fixed in RC1 > The failure occurs in the localtime_r function. > On HP-UX, this function is defined as follows (copied from /usr/include/time.h): > > extern struct tm *localtime(const time_t *); > extern int localtime_r(const time_t *, struct tm *); > > There are some similar warnings that appear for gmtime_r function too. > Similar problem appears in the following files: > ext/standard/parsedate.y > ext/standard/datetime.c > main.c > > I was able to compile when I used the solution in Bug id #3392. > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net - Sascha

« previous php.dev (#17334) next »