Bug #1517: functions/datetime.c:490: structure has no member named `tm_zone'
| From: | kk at netuse dot de | Date: | Wed, 09 Jun 1999 10:49:41 +0000 |
| Subject: | Bug #1517: functions/datetime.c:490: structure has no member named `tm_zone' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6758@lists.php.net to get a copy of this message | ||
From: kk@netuse.de
Operating system: Solaris 2.5.1
PHP version: 3.0 Latest CVS (09/06/1999)
PHP Bug Type: Compile Failure
Bug description: functions/datetime.c:490: structure has no member named `tm_zone'
kk@poe ~/php3 $ make
gcc -g -O2 -O2 -I. -I. -I/opt/GNUmysql/include/mysql
-c functions/datetime.c -o functions/datetime.o
functions/datetime.c: In function `_php3_date':
functions/datetime.c:490: structure has no member named `tm_zone'
kk@poe ~/php3 $ uname -a
SunOS poe 5.5.1 Generic_103640-23 sun4m sparc
struct tm is defined as
struct tm { /* see ctime(3) */
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
on 2.5.1, 2.6. and 2.7.