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: I speak about 5.2.x and in 5.2.14RC2 it is still not fixed. Previous Comments: ------------------------------------------------------------------------ [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