stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farid Zaripov <Far...@kyiv.vdiweb.com>
Subject [PATCH] etc/config/src
Date Mon, 25 Sep 2006 13:52:43 GMT
   1. The files in etc/config/src which are includes the
file BAD_ALLOC_ASSIGNMENT.cpp should be compiled after the
RUNTIME_IN_STD.cpp. The BAD_ALLOC_ASSIGNMENT.cpp itself
compiled after RUNTIME_IN_STD.cpp due to
"#ifndef _RWSTD_NO_RUNTIME_IN_STD" line.

   2. The file TLS.cpp uses __thread modifier, but with MSVC (and 
ICC/Windows as well) should used __declspec (thread) modifier.

   I have been fixed it (the diff file is attached).

   ChangeLog:
   * BAD_ALLOC_COPY_CTOR.cpp: Added dependency on RUNTIME_IN_STD.cpp
   * BAD_ALLOC_DEFAULT_CTOR.cpp: Ditto
   * BAD_ALLOC_DTOR.cpp: Ditto
   * BAD_ALLOC_WHAT.cpp: Ditto
   * BAD_CAST_ASSIGNMENT.cpp: Ditto
   * BAD_CAST_COPY_CTOR.cpp: Ditto
   * BAD_CAST_DEFAULT_CTOR.cpp: Ditto
   * BAD_CAST_DTOR.cpp: Ditto
   * BAD_CAST_WHAT.cpp: Ditto
   * BAD_EXCEPTION_ASSIGNMENT.cpp: Ditto
   * BAD_EXCEPTION_COPY_CTOR.cpp: Ditto
   * BAD_EXCEPTION_DEFAULT_CTOR.cpp: Ditto
   * BAD_EXCEPTION_DTOR.cpp: Ditto
   * BAD_EXCEPTION_WHAT.cpp: Ditto
   * BAD_TYPEID_ASSIGNMENT.cpp: Ditto
   * BAD_TYPEID_COPY_CTOR.cpp: Ditto
   * BAD_TYPEID_DEFAULT_CTOR.cpp: Ditto
   * BAD_TYPEID_DTOR.cpp: Ditto
   * BAD_TYPEID_WHAT.cpp: Ditto
   * EXCEPTION_ASSIGNMENT.cpp: Ditto
   * EXCEPTION_COPY_CTOR.cpp: Ditto
   * EXCEPTION_DEFAULT_CTOR.cpp: Ditto
   * EXCEPTION_DTOR.cpp: Ditto
   * EXCEPTION_WHAT.cpp: Ditto
   * TLS.cpp [_MSC_VER]: Used modifier __declspec (thread) instead of 
__thread


   Also I see that THREAD_SAFE_ERRNO.cpp and THREAD_SAFE_EXCEPTIONS.cpp 
are platform dependent and cannot be used on Windows. I not ported it 
because I not found using of the _RWSTD_NO_THREAD_SAFE_ERRNO nor 
_RWSTD_NO_THREAD_SAFE_EXCEPTIONS macros in the source files.

Farid.

Mime
View raw message