stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r586114 - /incubator/stdcxx/trunk/include/rw/_config-msvc.h
Date Thu, 18 Oct 2007 20:11:08 GMT
Author: sebor
Date: Thu Oct 18 13:11:07 2007
New Revision: 586114

URL: http://svn.apache.org/viewvc?rev=586114&view=rev
Log:
2007-10-18  Travis Vitek  <vitek@roguewave.com>

	Merged rev 586112 from branches/4.2.0.
	* _config-msvc.h [_RWSTD_VER_MAJOR]: Define configuration
	macros to enable binary compatibility with 4.1.3 on MSVC.

Modified:
    incubator/stdcxx/trunk/include/rw/_config-msvc.h

Modified: incubator/stdcxx/trunk/include/rw/_config-msvc.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_config-msvc.h?rev=586114&r1=586113&r2=586114&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_config-msvc.h (original)
+++ incubator/stdcxx/trunk/include/rw/_config-msvc.h Thu Oct 18 13:11:07 2007
@@ -25,7 +25,7 @@
  * implied.   See  the License  for  the  specific language  governing
  * permissions and limitations under the License.
  *
- * Copyright 1994-2006 Rogue Wave Software.
+ * Copyright 1994-2007 Rogue Wave Software, Inc.
  * 
  **************************************************************************/
 
@@ -57,6 +57,25 @@
 #endif   // _RWSTD_NO_EXPORT
 
 #endif   // MSVC <= 6.0
+
+#if (_MSC_VER < 1400) && (_RWSTD_VER_MAJOR < 5)
+#  define _RWSTD_MSVC7_STDCXX42_BINARY_COMPAT_FIX
+#endif
+
+#if _RWSTD_VER_MAJOR < 5
+   // defined for binary compatibility with stdcxx 4.1.x
+#  define _RWSTD_NO_BAD_CAST_ASSIGNMENT
+#  define _RWSTD_NO_BAD_CAST_COPY_CTOR
+#  define _RWSTD_NO_BAD_CAST_DTOR
+#  define _RWSTD_NO_BAD_TYPEID_ASSIGNMENT
+#  define _RWSTD_NO_BAD_TYPEID_COPY_CTOR
+#  define _RWSTD_NO_BAD_TYPEID_DTOR
+#  define _RWSTD_NO_EXCEPTION_ASSIGNMENT
+#  define _RWSTD_NO_EXCEPTION_COPY_CTOR
+#  define _RWSTD_NO_EXCEPTION_DEFAULT_CTOR
+#  define _RWSTD_NO_EXCEPTION_DTOR
+#  define _RWSTD_NO_EXCEPTION_WHAT
+#endif   // stdcxx version < 5
 
    // disable "Same type qualifier used more than once"
 #  pragma warning (disable: 4114)



Mime
View raw message