You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2008/03/26 18:33:03 UTC
svn commit: r641423 - /stdcxx/trunk/include/rw/_config-gcc.h
Author: faridz
Date: Wed Mar 26 10:32:46 2008
New Revision: 641423
URL: http://svn.apache.org/viewvc?rev=641423&view=rev
Log:
2008-03-26 Farid Zaripov <fa...@epam.com>
* include/rw/_config-gcc.h [__CYGWIN__ && _RWSHARED]: #define
_RWSTD_NO_REPLACEABLE_NEW_DELETE macro to disable using of the
replacement new/delete operators.
Modified:
stdcxx/trunk/include/rw/_config-gcc.h
Modified: stdcxx/trunk/include/rw/_config-gcc.h
URL: http://svn.apache.org/viewvc/stdcxx/trunk/include/rw/_config-gcc.h?rev=641423&r1=641422&r2=641423&view=diff
==============================================================================
--- stdcxx/trunk/include/rw/_config-gcc.h (original)
+++ stdcxx/trunk/include/rw/_config-gcc.h Wed Mar 26 10:32:46 2008
@@ -133,6 +133,11 @@
// disabe exporting timeplate instantations in shared builds
// see STDCXX-507
# define _RWSTD_NO_EXTERN_TEMPLATE
+
+ // operator new and delete is not reliably replaceable across
+ // shared library boundaries, which includes the shared library
+ // version of the language support library
+# define _RWSTD_NO_REPLACEABLE_NEW_DELETE
# endif
#endif // __CYGWIN__