Re: [INTERNALS-WIN] warnings in current 5.3 build

From: Date: Mon, 28 Jul 2008 20:22:26 +0000
Subject: Re: [INTERNALS-WIN] warnings in current 5.3 build
References: 1  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-133@lists.php.net to get a copy of this message
On Mon, Jul 28, 2008 at 9:39 PM, Stanislav Malyshev <stas@zend.com> wrote: > Hi! > > When I build 5.3 on Windows, I get a ton of warnings like this: > > c:\projects\php-5.3\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : > macro redefinition > c:\projects\php-5.3\main\config.w32.h(7) : see previous definition of > '_WIN32_WINNT' > > Looks like it is caused by some recent change. Could whoever did the change > fix it? :) It is caused by bad usage of this macro. The patch I sent earlier was supposed to fix it. I'll send an updated one (according to our discussion about minimizing php deps ni ZE2) tomorrow. There is a new warning as well about already defined typed in the new code (for vc8+), it is due to the introduction of the portability helper, php_stdint.h for windows. Cheers. -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.internals.win (#133) next »