Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 99840 invoked from network); 15 Oct 2006 00:29:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Oct 2006 00:29:39 -0000 Received: (qmail 47808 invoked by uid 500); 15 Oct 2006 00:29:32 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 47741 invoked by uid 500); 15 Oct 2006 00:29:32 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 47730 invoked by uid 99); 15 Oct 2006 00:29:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 17:29:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.155.252.31] (HELO agamemnon.cnchost.com) (207.155.252.31) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 17:29:31 -0700 Received: from [192.168.0.21] (c-24-15-193-17.hsd1.il.comcast.net [24.15.193.17]) (as wrowe@rowe-clan.net) by agamemnon.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id CEBBE7C; Sat, 14 Oct 2006 20:29:06 -0400 (EDT) Message-ID: <453180D7.40900@rowe-clan.net> Date: Sat, 14 Oct 2006 19:29:11 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: dev@httpd.apache.org, Mladen Turk Subject: Re: svn commit: r463929 - in /httpd/httpd/trunk/srclib/pcre: dftables.c dftables.dsp References: <20061014133503.2BA261A981A@eris.apache.org> In-Reply-To: <20061014133503.2BA261A981A@eris.apache.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Please avoid polluting the sources of third party origin, it's junk like this that makes merging to more modern external sources a real PITA. If you need a define, you add a define. We have a compiler options line in this same patch, no? mturk@apache.org wrote: > Author: mturk > Date: Sat Oct 14 06:34:58 2006 > New Revision: 463929 > > URL: http://svn.apache.org/viewvc?view=rev&rev=463929 > Log: > Fix compile warning. The /wd:XXXX is invalid. It should > be /wdXXXX, and since its for VS2005 only use the standard > preprocessor directives instead of that. > This should be backported to 2.2 as well. > > Modified: > httpd/httpd/trunk/srclib/pcre/dftables.c > httpd/httpd/trunk/srclib/pcre/dftables.dsp > > Modified: httpd/httpd/trunk/srclib/pcre/dftables.c > URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/srclib/pcre/dftables.c?view=diff&rev=463929&r1=463928&r2=463929 > ============================================================================== > --- httpd/httpd/trunk/srclib/pcre/dftables.c (original) > +++ httpd/httpd/trunk/srclib/pcre/dftables.c Sat Oct 14 06:34:58 2006 > @@ -46,6 +46,11 @@ > a function visible to the outside world, we make use of its code from here in > order to be consistent. */ > > +#if defined(_MSC_VER) && _MSC_VER >= 1400 > +#define _CRT_SECURE_NO_DEPRECATE > +#pragma warning(disable: 4996) > +#endif > + > #include > #include > #include > > Modified: httpd/httpd/trunk/srclib/pcre/dftables.dsp > URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/srclib/pcre/dftables.dsp?view=diff&rev=463929&r1=463928&r2=463929 > ============================================================================== > --- httpd/httpd/trunk/srclib/pcre/dftables.dsp (original) > +++ httpd/httpd/trunk/srclib/pcre/dftables.dsp Sat Oct 14 06:34:58 2006 > @@ -42,7 +42,7 @@ > # PROP Ignore_Export_Lib 0 > # PROP Target_Dir "" > # ADD BASE CPP /nologo /MD /W3 /O2 /D "_WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fd"Release\dftables" /FD /c > -# ADD CPP /nologo /MD /W3 /wd:4996 /O2 /D "_WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fd"Release\dftables" /FD /c > +# ADD CPP /nologo /MD /W3 /O2 /D "_WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fd"Release\dftables" /FD /c > # ADD BASE RSC /l 0x809 /d "NDEBUG" > # ADD RSC /l 0x809 /d "NDEBUG" > BSC32=bscmake.exe > @@ -68,7 +68,7 @@ > # PROP Ignore_Export_Lib 0 > # PROP Target_Dir "" > # ADD BASE CPP /nologo /MDd /W3 /EHsc /Zi /Od /D "_WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fd"Debug\dftables" /FD /c > -# ADD CPP /nologo /MDd /W3 /wd:4996 /EHsc /Zi /Od /D "_WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fd"Debug\dftables" /FD /c > +# ADD CPP /nologo /MDd /W3 /EHsc /Zi /Od /D "_WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fd"Debug\dftables" /FD /c > # ADD BASE RSC /l 0x809 /d "_DEBUG" > # ADD RSC /l 0x809 /d "_DEBUG" > BSC32=bscmake.exe > > > >