Edit report at http://bugs.php.net/bug.php?id=52316&edit=1
ID: 52316 User updated by: hendrik dot schmieder at jedox dot com Reported by: hendrik dot schmieder at jedox dot com Summary: Macro redefinition with Visual Studio 2010 -Status: Feedback +Status: Assigned Type: Bug Package: Compile Warning Operating System: Windows PHP Version: 5.2.13 Assigned To: pajoye New Comment: There was never a problem compiling php extensions with VS2003 and VS2005 and php version < 5.3. For PHP we use the supplied binaries. Why is it so difficult to made the proposed change. This can be done in less than one minute. Just for the upcoming 5.2.14 version. Previous Comments: ------------------------------------------------------------------------ [2010-07-13 09:38:33] paj...@php.net Let me rephrase: 5.2 supports only VC6. That means you can try with 5.3 (which should be fixed). ------------------------------------------------------------------------ [2010-07-13 09:36:46] hendrik dot schmieder at jedox dot com I speak about 5.2.x and in 5.2.14RC2 it is still not fixed. ------------------------------------------------------------------------ [2010-07-12 16:29:20] paj...@php.net Is it not fixed already in 5.3? ------------------------------------------------------------------------ [2010-07-12 16:19:21] hendrik dot schmieder at jedox dot com Description: ------------ With Visual Studio 2010 you get the warning. ...\tsrm\readdir.h(10): warning C4005: '_WIN32_WINNT' : macro redefinition C:\Programme\Microsoft SDKs\Windows\v7.0A\include\sdkddkver.h(197) : see previous definition of '_WIN32_WINNT' Changing in readdir.h #define _WIN32_WINNT 0x0400 to #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0400 #endif would solve the problem. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52316&edit=1