php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3015 wrong _TIMEZONE define
Submitted: 1999-12-21 07:22 UTC Modified: 1999-12-31 21:31 UTC
From: hv at remsnet dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: AIX 4.3.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 42 = ?
Subscribe to this entry?

 
 [1999-12-21 07:22 UTC] hv at remsnet dot de
functions/datetime.c:75: conflicting types for `timezone'
/usr/include/time.h:167: previous declaration of `timezone'
make: *** [functions/datetime.o] Error 1

dito at :

functions/parsedate.y:46

FIX :

...
#ifndef HAVE_TM_ZONE
#ifndef _TIMEZONE
#if !defined(_AIX)
extern time_t timezone;
#endif
...

and the same problem at PHP at diverent plaches witch uses TIMEZONE definitions


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-31 21:31 UTC] sas at cvs dot php dot net
Thanks for the detailed report. PHP checks now whether timezone is declared by the system.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 19:01:33 2024 UTC