Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37167 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61889 invoked from network); 22 Apr 2008 12:23:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Apr 2008 12:23:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.146.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.146.178 wa-out-1112.google.com Received: from [209.85.146.178] ([209.85.146.178:63477] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/B4-39257-9C8DD084 for ; Tue, 22 Apr 2008 08:23:37 -0400 Received: by wa-out-1112.google.com with SMTP id l24so3382689waf.17 for ; Tue, 22 Apr 2008 05:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4+4X/9nFQURXTfY2oEHWowti5f+TMa3WY57I0srIRgo=; b=fRqlJXhK9cnyQ9jlIhiPDFmDy5qO7nypbHhSUOOwZw/QeMbstuMSTYAAKzAnXFeIyiDkW3hJWdXL98k5y7BUovGx06Gk+D87tXkBuq9q8rXXpo/r1fHg1tlhUVrh/8kREu3jOjBdmrbhG3rGvAkwF/1DNpjr1/hzM4vSf+GLJIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fKBqFkxVphCSiq8Nn/CNDo5jvF164Kpwc2zi2TaephScihXh3U7m+6ivSis9UFMyK054GvupcKdv8shrE4FiqPm0gPuIrtf6VkMMTTPl+akrnM9lkHsN1woHueyc5WWIFhohsXj3xt4fLlLs9FGfkkllZVupBm3Gr5ukAl4mxo4= Received: by 10.114.159.5 with SMTP id h5mr97096wae.222.1208867014267; Tue, 22 Apr 2008 05:23:34 -0700 (PDT) Received: by 10.114.209.15 with HTTP; Tue, 22 Apr 2008 05:23:34 -0700 (PDT) Message-ID: <10845a340804220523ued5f4e3ge2c7e21e94f249bb@mail.gmail.com> Date: Tue, 22 Apr 2008 13:23:34 +0100 Reply-To: RQuadling@GoogleMail.com To: "Antony Dovgal" Cc: "PHP Developers Mailing List" In-Reply-To: <480DD36C.8090701@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10845a340804220401j48f63d18v989a72706951a495@mail.gmail.com> <480DD36C.8090701@daylessday.org> Subject: Re: [PHP-DEV] Building PHP. Clean builds. Noisy redefines. From: rquadling@googlemail.com ("Richard Quadling") On 22/04/2008, Antony Dovgal 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!"