From: gospodin dot p dot zh at gmail dot com Operating system: Windows PHP version: 5.3Git-2012-09-21 (snap) Package: Compile Failure Bug Type: Bug Bug description:"cannot allocate an array of constant size 0" or "dllimport not allowed"
Description: ------------ #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 MS Visual Studio 2005 don't exists any more. Make your sources up to date with IDE with less spaghetti-code. Expected result: ---------------- i've expected to make an extension which can use <string> and <iostream> Actual result: -------------- "cannot allocate an array of constant size 0" or "definition dllimport not allowed" -- Edit bug report at https://bugs.php.net/bug.php?id=63130&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63130&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63130&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63130&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63130&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63130&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63130&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63130&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63130&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63130&r=support Expected behavior: https://bugs.php.net/fix.php?id=63130&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63130&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63130&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63130&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63130&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63130&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63130&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63130&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63130&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63130&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63130&r=mysqlcfg