incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: status of fix for incompatibilities in exception classes on Windows
Date Thu, 18 Oct 2007 19:07:08 GMT
Travis Vitek wrote:
>  
> 
> Travis Vitek wrote:
>> I totally forgot about it after scrambling to get the other patch made
>> last night. I'll post a patch for review ASAP.
>>
>>
>> Martin Sebor wrote:
>>> What is the status of the patch for the unsats for the exception
>>> classes on Windows? Anyone working on it? Farid? Travis?
>>>
>>> Martin
>>>
> 
> I have verified this patch with the 4.1.3 examples compiled msvc-7.1 and
> the 4.2.0 dll compiled with msvc-7.1. I added a new conditional block
> for this just to avoid any issues that might come up when applying the
> other patch to this same file. Hope that doesn't cause problems for
> anyone.

What's the rationale for constraining the patch to exclude MSVC
8.0 and later?

That mixing two different versions of the same compiler and two
different versions of stdcxx is already known to have problems?
I think I would just as soon not make the problem worse. Would
you mid if I removed the _MSC_VER part of the conditional?

Martin

> 
> Travis
> 
> 
> Index: _config-msvc.h
> ===================================================================
> --- _config-msvc.h	(revision 586068)
> +++ _config-msvc.h	(working copy)
> @@ -58,6 +58,21 @@
>  
>  #endif   // MSVC <= 6.0
>  
> +#if (_MSC_VER < 1400) && (_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   // _MSC_VER && _RWSTD_VER_MAJOR
> +
>     // disable "Same type qualifier used more than once"
>  #  pragma warning (disable: 4114)
>  


Mime
View raw message