php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6265 Can't built phpnts.dll
Submitted: 2000-08-20 13:49 UTC Modified: 2000-10-15 13:02 UTC
From: helio at helio dot com dot br Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (20/08/2000) OS: win98-2nd edition
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: helio at helio dot com dot br
New email:
PHP Version: OS:

 

 [2000-08-20 13:49 UTC] helio at helio dot com dot br
Some errors whem I try to built phpnts.dll:

main.c
C:\Projects\php4\main\main.c(271) : error C2079: 'tmbuf' uses undefined struct 'tm'
C:\Projects\php4\main\main.c(576) : error C2079: 'tmbuf' uses undefined struct 'tm'


reentrancy.c
C:\Projects\php4\main\reentrancy.c(152) : error C2027: use of undefined type 'tm'
        C:\Projects\php4\main\php_reentrancy.h(56) : see declaration of 'tm'
C:\Projects\php4\main\reentrancy.c(208) : error C2027: use of undefined type 'tm'
        C:\Projects\php4\main\php_reentrancy.h(56) : see declaration of 'tm'
        
        
datetime.c
C:\Projects\php4\ext\standard\datetime.c(81) : error C2079: 'tmbuf' uses undefined struct 'tm'
C:\Projects\php4\ext\standard\datetime.c(113) : error C2037: left of 'tm_isdst' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(120) : error C2037: left of 'tm_isdst' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(145) : error C2037: left of 'tm_year' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(147) : error C2037: left of 'tm_year' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(151) : error C2037: left of 'tm_mday' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(154) : error C2037: left of 'tm_mon' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(157) : error C2037: left of 'tm_sec' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(160) : error C2037: left of 'tm_min' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(163) : error C2037: left of 'tm_hour' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(171) : error C2037: left of 'tm_isdst' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(186) : error C2065: 'timezone' : undeclared identifier
C:\Projects\php4\ext\standard\datetime.c(215) : error C2079: 'tmbuf' uses undefined struct 'tm'
C:\Projects\php4\ext\standard\datetime.c(324) : error C2037: left of 'tm_mon' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\datetime.c(324) : fatal error C1903: unable to recover from previous error(s); stopping compilation


info.c
C:\Projects\php4\ext\standard\info.c(130) : error C2079: 'tmbuf' uses undefined struct 'tm'
C:\Projects\php4\ext\standard\info.c(170) : error C2037: left of 'tm_mon' specifies undefined struct/union 'tm'
C:\Projects\php4\ext\standard\info.c(170) : error C2037: left of 'tm_mday' specifies undefined struct/union 'tm




parsedate.c
parsedate.y(887) : error C2037: left of 'tm_year' specifies undefined struct/union 'tm'
parsedate.y(888) : error C2037: left of 'tm_year' specifies undefined struct/union 'tm'
parsedate.y(891) : error C2037: left of 'tm_yday' specifies undefined struct/union 'tm'
parsedate.y(891) : error C2037: left of 'tm_yday' specifies undefined struct/union 'tm'
parsedate.y(899) : error C2037: left of 'tm_hour' specifies undefined struct/union 'tm'
parsedate.y(899) : error C2037: left of 'tm_hour' specifies undefined struct/union 'tm'
parsedate.y(900) : error C2037: left of 'tm_min' specifies undefined struct/union 'tm'
parsedate.y(900) : error C2037: left of 'tm_min' specifies undefined struct/union 'tm'
parsedate.y(901) : error C2037: left of 'tm_sec' specifies undefined struct/union 'tm'
parsedate.y(901) : error C2037: left of 'tm_sec' specifies undefined struct/union 'tm'
parsedate.y(907) : error C2079: 'tm' uses undefined struct 'tm'
parsedate.y(907) : error C2079: 'tm0' uses undefined struct 'tm'
parsedate.y(915) : error C2037: left of 'tm_year' specifies undefined struct/union 'tm'
parsedate.y(916) : error C2037: left of 'tm_mon' specifies undefined struct/union 'tm'
parsedate.y(917) : error C2037: left of 'tm_mday' specifies undefined struct/union 'tm'
parsedate.y(918) : error C2037: left of 'tm_hour' specifies undefined struct/union 'tm'
parsedate.y(919) : error C2037: left of 'tm_min' specifies undefined struct/union 'tm'
parsedate.y(920) : error C2037: left of 'tm_sec' specifies undefined struct/union 'tm'
parsedate.y(921) : error C2224: left of '.tm_isdst' must have struct/union type
parsedate.y(921) : error C2037: left of 'tm_isdst' specifies undefined struct/union 'tm'
parsedate.y(939) : error C2224: left of '.tm_year' must have struct/union type
parsedate.y(940) : error C2224: left of '.tm_mon' must have struct/union type
parsedate.y(941) : error C2224: left of '.tm_mday' must have struct/union type
parsedate.y(944) : error C2224: left of '.tm_hour' must have struct/union type
parsedate.y(945) : error C2224: left of '.tm_hour' must have struct/union type
parsedate.y(947) : error C2224: left of '.tm_min' must have struct/union type
parsedate.y(948) : error C2224: left of '.tm_sec' must have struct/union type
parsedate.y(952) : error C2224: left of '.tm_hour' must have struct/union type
parsedate.y(952) : error C2224: left of '.tm_min' must have struct/union type
parsedate.y(952) : error C2224: left of '.tm_sec' must have struct/union type
parsedate.y(954) : error C2224: left of '.tm_hour' must have struct/union type
parsedate.y(955) : error C2224: left of '.tm_min' must have struct/union type
parsedate.y(956) : error C2224: left of '.tm_sec' must have struct/union type
parsedate.y(961) : error C2224: left of '.tm_isdst' must have struct/union type
parsedate.y(981) : error C2224: left of '.tm_year' must have struct/union type
parsedate.y(983) : error C2224: left of '.tm_mday' must have struct/union type
parsedate.y(988) : error C2224: left of '.tm_mday' must have struct/union type
parsedate.y(1000) : error C2224: left of '.tm_mday' must have struct/union type
parsedate.y(1000) : error C2224: left of '.tm_wday' must have struct/union type


session.c
C:\Projects\php4\ext\session\session.c(532) : error C2079: 'tm' uses undefined struct 'tm'
C:\Projects\php4\ext\session\session.c(537) : error C2224: left of '.tm_wday' must have struct/union type
C:\Projects\php4\ext\session\session.c(537) : fatal error C1903: unable to recover from previous error(s); stopping compilation


COM.c
C:\Projects\php4\ext\com\COM.c(393) : error C2079: 'phptime' uses undefined struct 'tm'
C:\Projects\php4\ext\com\COM.c(396) : error C2224: left of '.tm_year' must have struct/union type
C:\Projects\php4\ext\com\COM.c(397) : error C2224: left of '.tm_mon' must have struct/union type
C:\Projects\php4\ext\com\COM.c(398) : error C2224: left of '.tm_mday' must have struct/union type
C:\Projects\php4\ext\com\COM.c(399) : error C2224: left of '.tm_hour' must have struct/union type
C:\Projects\php4\ext\com\COM.c(400) : error C2224: left of '.tm_min' must have struct/union type
C:\Projects\php4\ext\com\COM.c(401) : error C2224: left of '.tm_sec' must have struct/union type
C:\Projects\php4\ext\com\COM.c(402) : error C2224: left of '.tm_isdst' must have struct/union type


sendmail.c
C:\Projects\php4\win32\sendmail.c(342) : error C2065: '_timezone' : undeclared identifier
C:\Projects\php4\win32\sendmail.c(352) : error C2037: left of 'tm_wday' specifies undefined struct/union 'tm'
C:\Projects\php4\win32\sendmail.c(352) : fatal error C1903: unable to recover from previous error(s); stopping compilation
time.c
C:\Projects\php4\win32\time.c(44) : error C2065: '_timezone' : undeclared identifier
C:\Projects\php4\win32\time.c(45) : error C2065: '_daylight' : undeclared identifier

Error executing cl.exe.

php4nts.dll - 78 error(s), 49 warning(s)

Patches

Pull Requests

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 21:00:01 2026 UTC