Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 83473 invoked from network); 20 May 2008 21:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 21:50:46 -0000 Received: (qmail 29332 invoked by uid 500); 20 May 2008 21:50:39 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 29276 invoked by uid 500); 20 May 2008 21:50:39 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 29245 invoked by uid 99); 20 May 2008 21:50:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 14:50:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bojan@rexursive.com designates 203.171.74.242 as permitted sender) Received: from [203.171.74.242] (HELO beauty.rexursive.com) (203.171.74.242) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 21:49:46 +0000 Received: from [10.1.120.24] (shrek.rexursive.com [10.1.120.24]) by beauty.rexursive.com (Postfix) with ESMTP id B55F340377 for ; Wed, 21 May 2008 07:50:06 +1000 (EST) Subject: Warning in strings/apr_snprintf.c From: Bojan Smojver To: APR Development List Content-Type: text/plain; charset=utf8 Date: Wed, 21 May 2008 07:50:02 +1000 Message-Id: <1211320202.23239.51.camel@shrek.rexursive.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org I'm getting this (APR 1.2.x): ------------------------------------- strings/apr_snprintf.c: In function 'apr_vformatter': strings/apr_snprintf.c:1253: warning: comparison with string literal results in unspecified behavior ------------------------------------- The line is: ------------------------------------- if (prefix_char != NUL && s != S_NULL && s != char_buf) ------------------------------------- Where s is pointer to char and S_NULL defined as "null". We really want to do this here, right? Just checking... -- Bojan