stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r693424 - /stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp
Date Tue, 09 Sep 2008 10:36:00 GMT
Author: faridz
Date: Tue Sep  9 03:35:59 2008
New Revision: 693424

URL: http://svn.apache.org/viewvc?rev=693424&view=rev
Log:
2008-09-09  Farid Zaripov  <faridz@apache.org>

	* tests/regress/18.c.limits.stdcxx-988.cpp: Resolved compilation
	error on MSVC and ICC/Windows.

Modified:
    stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp

Modified: stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp?rev=693424&r1=693423&r2=693424&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp (original)
+++ stdcxx/branches/4.2.x/tests/regress/18.c.limits.stdcxx-988.cpp Tue Sep  9 03:35:59 2008
@@ -138,14 +138,14 @@
     assert (SCHAR_MAX  == +127);
     assert (SHRT_MAX   >= +32767);
 
-#ifndef _RWSTD_EDG_ECCP
+#if !defined (_RWSTD_EDG_ECCP) && !defined (_MSC_VER)
 
     // avoid exercising with the EDG eccp front end (strict mode)
     assert (LONG_BIT   >= 32);
     assert (SSIZE_MAX  >= _POSIX_SSIZE_MAX);
     assert (WORD_BIT   >= 32);
 
-#endif   // EDG eccp
+#endif   // EDG eccp || MSVC || ICC/Windows
 
     assert (UCHAR_MAX  >= 255);
     assert (UINT_MAX   >= 4294967295);



Mime
View raw message