Edit report at https://bugs.php.net/bug.php?id=39130&edit=1

 ID:                 39130
 Comment by:         gospodin dot p dot zh at gmail dot com
 Reported by:        ben dot yan at msn dot com
 Summary:            Compile failure when using VC++ 2005
 Status:             Wont fix
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows
 PHP Version:        5.2CVS-2007-07-22
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

#include <iostream>
//#include "php_test_empty.h"
#include "targetver.h"
#include "php.h"

------------
>c:\program files (x86)\microsoft visual studio 9.0\vc\include\sys\stat.inl(44) 
: error C2466: невозможно выделить память для 
массива постоянного нулевого 
размера
1>c:\program files (x86)\microsoft visual studio 
9.0\vc\include\sys\stat.inl(49) 
: error C2466: невозможно выделить память для 
массива постоянного нулевого 
размера
1>c:\program files (x86)\microsoft visual studio 
9.0\vc\include\sys\utime.inl(39) : error C2466: невозможно 
выделить память для 
массива постоянного нулевого размера
1>c:\program files (x86)\microsoft visual studio 
9.0\vc\include\sys\utime.inl(44) : error C2466: невозможно 
выделить память для 
массива постоянного нулевого размера
1>c:\program files (x86)\microsoft visual studio 
9.0\vc\include\sys\utime.inl(49) : error C2466: невозможно 
выделить память для 
массива постоянного нулевого размера
1>c:\program files (x86)\microsoft visual studio 
9.0\vc\include\sys\utime.inl(78) : error C2466: невозможно 
выделить память для 
массива постоянного нулевого размера

----------
means "cannot allocate an array of constant size 0"

DO SOMETHING FINALLY!!!!!!!11111oneone


Previous Comments:
------------------------------------------------------------------------
[2011-10-18 15:39:19] josephmdaly at gmail dot com

I just came across this myself with 5.3.8. If you are an extension writer with 
this issue, try moving php.h to the first include of your source files.

------------------------------------------------------------------------
[2009-03-04 00:11:11] paj...@php.net

We support VC6 only for 5.2.x, it may work with VS2008 (vc9) but there is no 
guarantee. PHP 5.3 supports 2008 out of the box.

------------------------------------------------------------------------
[2009-03-03 23:58:11] jmckenna at gatewaygeomatics dot com

I have the exact same problem with PHP 5.2.9 and VS 2008.

-jeff

------------------------------------------------------------------------
[2008-05-20 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2008-05-12 09:54:03] paj...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=39130


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=39130&edit=1

Reply via email to