Ticket #149 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

0.9.5 RC1 Win32 compile errors with Visual Studio .net 2k5

Reported by: TheDarkOne Assigned to: somebody
Priority: trivial Milestone:
Component: eAccelerator Version: 0.9.5
Keywords: Cc:

Description

Could well be down to a mis-configured setup as this is first time I've used 2k5. Compiles fine under vc++6

Warning	1	warning C4996: 'fileno' was declared deprecated	c:\php\php-5.1.4\ext\eaccelerator-0.9.5-rc1\debug.c	49	
Error	2	error C2143: syntax error : missing ';' before 'type'	c:\php\php-5.1.4\ext\eaccelerator-0.9.5-rc1\debug.c	212	
Error	3	error C2065: 'i' : undeclared identifier	c:\php\php-5.1.4\ext\eaccelerator-0.9.5-rc1\debug.c	213	
Error	4	error C2375: 'isatty' : redefinition; different linkage	c:\php\php-5.1.4\ext\eaccelerator-0.9.5-rc1\encoder.c	1078	

Change History

07/26/06 11:54:49 changed by bart

I also compiled it under 2k5 and it compiled just fine. Did you try the vc2005 project file?

07/26/06 14:57:56 changed by TheDarkOne

Ah, seems to be debug build only which is affected, release is fine

07/27/06 16:47:15 changed by bart

  • status changed from new to closed.
  • resolution set to fixed.

I fixed this in trunk [249], I'll commit this fixes in the 0.9.5 later.