Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 21683 invoked from network); 15 Jan 2011 02:06:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jan 2011 02:06:46 -0000 Received: (qmail 99058 invoked by uid 500); 15 Jan 2011 02:06:45 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 98973 invoked by uid 500); 15 Jan 2011 02:06:45 -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 98964 invoked by uid 99); 15 Jan 2011 02:06:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jan 2011 02:06:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.242.35.75] (HELO dns-factory.at) (194.242.35.75) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jan 2011 02:06:38 +0000 Received: from [172.17.100.7] apache@gknw.net [84.63.11.57] by dns-factory.at with NetMail SMTP Agent $Revision: 8582 $ on Novell NetWare via secured & encrypted transport (TLS); Sat, 15 Jan 2011 03:06:05 +0100 Message-ID: <4D3100DD.7000602@apache.org> Date: Sat, 15 Jan 2011 03:05:17 +0100 From: Guenter Knauf User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: httpd Developer List Subject: Fwd: util_expr_parce.c Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Forwarded on behalf of Gregg L. Smith (his email bounced 3 times for whatever reason). -------- Original-Nachricht -------- Hi Stefan, For some reason on Win we are falling through all the if(n)defs and are getting these ugly warnings; util_expr_parse.c(327) : warning C4273: 'malloc' : inconsistent dll linkage C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdlib.h(601) : see previous definition of 'malloc' util_expr_parse.c(334) : warning C4273: 'free' : inconsistent dll linkage C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdlib.h(600) : see previous definition of 'free' stdlib is being included in httpd.h since APR_HAVE_STDLIB_H == 1 in Win. May I suggest looking for it in util_expr_private.h and define _STDLIB_H there or any where/way you prefer. #if APR_HAVE_STDLIB_H #define _STDLIB_H #endif That rids us of the two ugliest warnings emitted from this parser. Regards, Gregg