Author: sebor
Date: Fri Aug 17 16:49:11 2007
New Revision: 567180
URL: http://svn.apache.org/viewvc?view=rev&rev=567180
Log:
2007-08-17 Martin Sebor <[EMAIL PROTECTED]>
* testdefs.h [Intel C++ 10.0 and prior]: Disabled warning #279:
controlling expression is constant issued for the commonly used
statement RW_ASSERT(!"not implemented"). Works around Intel C++
bug described in STDCXX-487.
Modified:
incubator/stdcxx/trunk/tests/include/testdefs.h
Modified: incubator/stdcxx/trunk/tests/include/testdefs.h
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/include/testdefs.h?view=diff&rev=567180&r1=567179&r2=567180
==============================================================================
--- incubator/stdcxx/trunk/tests/include/testdefs.h (original)
+++ incubator/stdcxx/trunk/tests/include/testdefs.h Fri Aug 17 16:49:11 2007
@@ -24,7 +24,7 @@
* Copyright 2005-2006 The Apache Software Foundation or its licensors,
* as applicable.
*
- * Copyright 2003-2007 Rogue Wave Software.
+ * Copyright 2003-2007 Rogue Wave Software, Inc.
*
**************************************************************************/
@@ -166,5 +166,11 @@
// convenience macro to get number of elements in a c style array
#define RW_COUNT_OF(x) (sizeof(x) / sizeof(*x))
+
+#if defined (__INTEL_COMPILER) && __INTEL_COMPILER <= 1000
+ // disable warning #279: controlling expression is constant
+ // issued for the commonly used RW_ASSERT(!"not implemented")
+# pragma warning (disable: 279)
+#endif // Intel C++ 10.0 and prior
#endif // RW_TESTDEFS_H_INCLUDED