Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 7526 invoked from network); 11 Nov 2006 00:22:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2006 00:22:41 -0000 Received: (qmail 25179 invoked by uid 500); 11 Nov 2006 00:22:52 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 25157 invoked by uid 500); 11 Nov 2006 00:22:52 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 25132 invoked by uid 99); 11 Nov 2006 00:22:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 16:22:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 16:22:40 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 191C91A9846; Fri, 10 Nov 2006 16:22:12 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r473590 - /incubator/stdcxx/trunk/tests/self/0.printf.cpp Date: Sat, 11 Nov 2006 00:22:11 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061111002212.191C91A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Fri Nov 10 16:22:11 2006 New Revision: 473590 URL: http://svn.apache.org/viewvc?view=rev&rev=473590 Log: 2006-11-10 Martin Sebor * 0.printf.cpp (TEST_SPEC): Avoided using constant controlling expression in do/while loop to silence annoyning EDG warnings. Modified: incubator/stdcxx/trunk/tests/self/0.printf.cpp Modified: incubator/stdcxx/trunk/tests/self/0.printf.cpp URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/self/0.printf.cpp?view=diff&rev=473590&r1=473589&r2=473590 ============================================================================== --- incubator/stdcxx/trunk/tests/self/0.printf.cpp (original) +++ incubator/stdcxx/trunk/tests/self/0.printf.cpp Fri Nov 10 16:22:11 2006 @@ -141,7 +141,9 @@ (long)a1, (long)a2, (long)a3, buf, s0); \ } \ free (s0); \ - } while (0) + RW_ASSERT (0 < ntests); \ + /* avoid EDG constant controlling expression warnings */ \ + } while (0 == ntests /* always false */) /***********************************************************************/