Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 52367 invoked from network); 10 Sep 2008 16:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 16:29:07 -0000 Received: (qmail 47057 invoked by uid 500); 10 Sep 2008 16:28:51 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 47040 invoked by uid 500); 10 Sep 2008 16:28:51 -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 47019 invoked by uid 99); 10 Sep 2008 16:28:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 09:28:51 -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; Wed, 10 Sep 2008 16:27:53 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m8AGQIrx024292 for ; Wed, 10 Sep 2008 16:26:23 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: svn commit: r693424 - /stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp Date: Wed, 10 Sep 2008 10:25:41 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn commit: r693424 - /stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp Thread-Index: AckTT7VIL3DFPGYySVyJNSZIUs89CQAEbvTg References: <48C7D644.3080203@roguewave.com> From: "Travis Vitek" To: X-Virus-Checked: Checked by ClamAV on apache.org =20 Martin Sebor wrote: > >faridz wrote: >>=20 >>=20 >> URL: http://svn.apache.org/viewvc?rev=3D693424&view=3Drev >> Log: >> 2008-09-09 Farid Zaripov >>=20 >> * tests/regress/18.c.limits.stdcxx-988.cpp: Resolved compilation >> error on MSVC and ICC/Windows. >>=20 >> Modified: >> stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp >>=20 >> Modified:=20 >stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp >> URL: >>=20 >http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regres >s/18.c.limits.stdcxx-988.cpp?rev=3D693424&r1=3D693423&r2=3D693424&view=3D= diff >>=20 >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp >> (original) >> +++=20 >stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp Tue Sep=20 >> 9 03:35:59 2008 >> @@ -138,14 +138,14 @@ >> assert (SCHAR_MAX =3D=3D +127); >> assert (SHRT_MAX >=3D +32767); >> =20 >> -#ifndef _RWSTD_EDG_ECCP >> +#if !defined (_RWSTD_EDG_ECCP) && !defined (_MSC_VER) >>=20 >>=20 > >_RWSTD_EDG_ECCP should only be #defined when we're using the EDG eccp >vanilla demo, but not when we're using a compiler that sits on top of >the EDG front end such as Intel C++. If this condition evaluates to >true we have a configuration problem... The seems valid to me. The conditional is only true for compilers other than EDG and Microsoft. > >Martin > >> =20 >> // avoid exercising with the EDG eccp front end (strict mode) >> assert (LONG_BIT >=3D 32); >> assert (SSIZE_MAX >=3D _POSIX_SSIZE_MAX); >> assert (WORD_BIT >=3D 32); >> =20 >> -#endif // EDG eccp >> +#endif // EDG eccp || MSVC || ICC/Windows >> =20 >> assert (UCHAR_MAX >=3D 255); >> assert (UINT_MAX >=3D 4294967295); >>=20 >>=20 >>=20 >>=20 > >