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

[email protected] ("Pierre Joye")
Newsgroups php.internals.win
Message-ID <[email protected]>
On Mon, Jul 28, 2008 at 9:39 PM, Stanislav Malyshev <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.