incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: status of fix for incompatibilities in exception classes on Windows
Date Thu, 18 Oct 2007 16:32:48 GMT
> -----Original Message-----
> From: Travis Vitek [mailto:tvitek@roguewave.com] 
> Sent: Thursday, October 18, 2007 7:24 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: RE: status of fix for incompatibilities in exception 
> classes on Windows
> 
> 
> I totally forgot about it after scrambling to get the other 
> patch made last night. I'll post a patch for review ASAP.
>  
> 
> >-----Original Message-----
> >From: Martin Sebor [mailto:sebor@roguewave.com]
> >Sent: Thursday, October 18, 2007 8:50 AM
> >To: stdcxx-dev@incubator.apache.org
> >Subject: status of fix for incompatibilities in exception classes on 
> >Windows
> >
> >What is the status of the patch for the unsats for the exception 
> >classes on Windows? Anyone working on it? Farid? Travis?
> >
> >Martin

  The patch is very simple:

Index: _config-msvcrt.h
===================================================================
--- _config-msvcrt.h	(revision 586020)
+++ _config-msvcrt.h	(working copy)
@@ -219,3 +219,18 @@
 typedef unsigned short wchar_t;
 
 #endif   // _NATIVE_WCHAR_T_DEFINED
+
+#if 5 <= _RWSTD_VER_MAJOR
+   // 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   // 5 <= stdcxx version

Farid.

Mime
View raw message