Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 15147 invoked from network); 23 Jun 2008 20:03:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jun 2008 20:03:27 -0000 Received: (qmail 33051 invoked by uid 500); 23 Jun 2008 20:03:28 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 33034 invoked by uid 500); 23 Jun 2008 20:03:28 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 33023 invoked by uid 99); 23 Jun 2008 20:03:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 13:03:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 20:02:39 +0000 Received: from nebula.bco.roguewave.com ([10.70.3.27]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m5NK0vsQ025327 for ; Mon, 23 Jun 2008 20:00:58 GMT Message-ID: <486000FA.4090101@roguewave.com> Date: Mon, 23 Jun 2008 14:00:58 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: svn commit: r667637 - in /stdcxx/branches/4.3.x: etc/config/src/STATIC_ASSERT.cpp include/rw/_meta_cat.h include/rw/_meta_ref.h include/rw/_meta_rel.h include/rw/_static_assert.h References: <20080613202049.0CB822388A0A@eris.apache.org> In-Reply-To: <20080613202049.0CB822388A0A@eris.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org elemings@apache.org wrote: > Author: elemings > Date: Fri Jun 13 13:20:48 2008 > New Revision: 667637 > > URL: http://svn.apache.org/viewvc?rev=667637&view=rev > Log: > 2008-06-13 Eric Lemings > > STDCXX-916 > * include/rw/_meta_cat.h, include/rw/_meta_ref.h, > include/rw/_meta_rel.h: Include missing headers. > * include/rw/_static_assert.h [_RWSTD_STATIC_ASSERT]: Reverse > definitions. Add Mesg parameter to internal definition so both > definitions have same number of parameters. > * etc/config/src/STATIC_ASSERT.cpp (main): Change main() to a > regular function so config scripts don't find main() and > (unnecessarily) link (and run?) program. > [...] > Modified: stdcxx/branches/4.3.x/include/rw/_static_assert.h > URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/include/rw/_static_assert.h?rev=667637&r1=667636&r2=667637&view=diff > ============================================================================== > --- stdcxx/branches/4.3.x/include/rw/_static_assert.h (original) > +++ stdcxx/branches/4.3.x/include/rw/_static_assert.h Fri Jun 13 13:20:48 2008 > @@ -53,14 +53,12 @@ > } // namespace __rw > > #ifndef _RWSTD_NO_STATIC_ASSERT > - > -# define _RWSTD_STATIC_ASSERT(Cond) \ > +# define _RWSTD_STATIC_ASSERT(Cond,Mesg) static_assert(Cond, Mesg) There's a missing space after the comma. > +#else > +# define _RWSTD_STATIC_ASSERT(Cond,Mesg) \ > typedef \ > _RW::__rw_static_assert) != 0> \ > _RWSTD_PASTE(__static_assert,__LINE__) Same here. Martin