You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2005/12/02 00:32:17 UTC
svn commit: r351520 -
/incubator/stdcxx/trunk/etc/config/src/BAD_ALLOC_ASSIGNMENT.cpp
Author: sebor
Date: Thu Dec 1 15:32:11 2005
New Revision: 351520
URL: http://svn.apache.org/viewcvs?rev=351520&view=rev
Log:
2005-12-01 Martin Sebor <se...@roguewave.com>
* BAD_ALLOC_ASSIGNMENT.cpp: Avoided defining std::terminate() unless
compiling with gcc 2, the only compiler that might need it (when using
the -fhonor-std option with a compiler and its runtime libraries that
were compiled without the option).
Modified:
incubator/stdcxx/trunk/etc/config/src/BAD_ALLOC_ASSIGNMENT.cpp
Modified: incubator/stdcxx/trunk/etc/config/src/BAD_ALLOC_ASSIGNMENT.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/src/BAD_ALLOC_ASSIGNMENT.cpp?rev=351520&r1=351519&r2=351520&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/BAD_ALLOC_ASSIGNMENT.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/BAD_ALLOC_ASSIGNMENT.cpp Thu Dec 1 15:32:11 2005
@@ -34,8 +34,9 @@
#endif
-#ifndef _RWSTD_NO_HONOR_STD
-# ifdef _RWSTD_NO_STD_TERMINATE
+#if 2 == GNUG__
+# ifndef _RWSTD_NO_HONOR_STD
+# ifdef _RWSTD_NO_STD_TERMINATE
namespace std {
@@ -57,8 +58,9 @@
}
-# endif // _RWSTD_NO_STD_TERMINATE
-#endif // _RWSTD_NO_HONOR_STD
+# endif // _RWSTD_NO_STD_TERMINATE
+# endif // _RWSTD_NO_HONOR_STD
+#endif // gcc 2.x
#ifndef _RWSTD_NO_RUNTIME_IN_STD