On 22/04/2008, Antony Dovgal <[EMAIL PROTECTED]> wrote:
> On 22.04.2008 15:01, Richard Quadling wrote:
>
> > Another warning is that some of the constants are redefined to a
> > different value from the ones that are part of the compiler. The
> > /TRSM/readdir.h, _WIN32_WINNT is redefined from 0x0600 in C:\Program
> > Files\Microsoft
> SDKs\Windows\v6.1\include\sdkddkver.h(186).
> >
> > This 1 #define causes a LOT of noise during compilation. I know I
> > could suppress all the warnings, but with so much noise, how does
> > anyone see the true warnings in the noise?
> >
> > By adding a #undef _WIN32_WINNT before #define _WIN32_WINNT 0x0400,
> > this removes the warning.  It is more or less every .c compile.
> >
>
>  http://dev.daylessday.org/diff/readdir_winnt.diff
>  Did I get you right ?
>
>  --
>  Wbr, Antony Dovgal
>

Yes on the patch. There are a few more like this. It is just a cosmetic issue.

I am using Microsoft Visual C++ 2008 Express Edition with the Windows
Server 2008 and .NET 3.4 SDK.

I'm NOT running Apache (so runtime version issues there don't apply),
and I am only playing/learning - this is going nowhere near my
live/dev servers. Just learning.


My next goal is to get a version of Linux so I can build and test my
suggestions on 2 platforms. Hopefully, my patches/suggestions will
have more support!

Thank you.

Richard.


-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to