Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52215 invoked from network); 22 Apr 2008 12:00:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Apr 2008 12:00:51 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:40729] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DD/A2-39257-373DD084 for ; Tue, 22 Apr 2008 08:00:51 -0400 Received: from [192.168.3.91] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTP id 40F2E6400ED; Tue, 22 Apr 2008 16:00:47 +0400 (MSD) Message-ID: <480DD36C.8090701@daylessday.org> Date: Tue, 22 Apr 2008 16:00:44 +0400 User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: RQuadling@GoogleMail.com CC: PHP Developers Mailing List References: <10845a340804220401j48f63d18v989a72706951a495@mail.gmail.com> In-Reply-To: <10845a340804220401j48f63d18v989a72706951a495@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Building PHP. Clean builds. Noisy redefines. From: tony@daylessday.org (Antony Dovgal) 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