stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r597417 - /incubator/stdcxx/trunk/tests/numerics/26.valarray.cassign.cpp
Date Thu, 22 Nov 2007 14:54:53 GMT
Author: faridz
Date: Thu Nov 22 06:54:53 2007
New Revision: 597417

URL: http://svn.apache.org/viewvc?rev=597417&view=rev
Log:
	Merged r586808 and r597396 from branches/4.2.x

2007-10-20  Martin Sebor  <sebor@roguewave.com>

	* 26.valarray.cassign.cpp (run_test): Disabled tests exercising
	valarray specializations on a user-defined type for 4.2.0 and
	prior since they are known to fail to compile due to STDCXX-512.

2007-11-22 Farid Zaripov <farid_zaripov@epam.com>

	* 26.valarray.cassign.cpp (run_test): Corrected condition in preprocessor directive.

Modified:
    incubator/stdcxx/trunk/tests/numerics/26.valarray.cassign.cpp

Modified: incubator/stdcxx/trunk/tests/numerics/26.valarray.cassign.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/numerics/26.valarray.cassign.cpp?rev=597417&r1=597416&r2=597417&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/numerics/26.valarray.cassign.cpp (original)
+++ incubator/stdcxx/trunk/tests/numerics/26.valarray.cassign.cpp Thu Nov 22 06:54:53 2007
@@ -801,10 +801,23 @@
 {
 #undef TEST
 #define TEST(T)   test_op_assign ((const T*)0, #T)
+
     TEST (int);
     TEST (double);
 
+#if 0x04020000 >= _RWSTD_VER
+
+    // test fails to compile with stdcxx 4.2.0 and prior due to
+    // STDCXX-512: http://issues.apache.org/jira/browse/STDCXX-512
+    rw_warn (0, 0, __LINE__,
+             "test of UserClass disabled in stdcxx 4.2.0 and prior "
+             "due to STDCXX-512");
+
+#else   // stdcxx > 4.2.0
+
     TEST (UserClass);
+
+#endif   // stdcxx version
 
     return 0;
 }



Mime
View raw message