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 01:28:45 UTC
svn commit: r351539 -
/incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp
Author: sebor
Date: Thu Dec 1 16:28:41 2005
New Revision: 351539
URL: http://svn.apache.org/viewcvs?rev=351539&view=rev
Log:
2005-12-01 Martin Sebor <se...@roguewave.com>
* STD_BAD_TYPEID.cpp: Guarded the conditional definition
of std::terminate against compiling with anything other
than gcc 2.x.
Modified:
incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp
Modified: incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp?rev=351539&r1=351538&r2=351539&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp Thu Dec 1 16:28:41 2005
@@ -23,8 +23,9 @@
#endif // _RWSTD_NO_TYPEINFO
-#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 {
@@ -40,8 +41,9 @@
} // namespace std
-# endif // _RWSTD_NO_STD_TERMINATE
-#endif // _RWSTD_NO_HONOR_STD
+# endif // _RWSTD_NO_STD_TERMINATE
+# endif // _RWSTD_NO_HONOR_STD
+#endif // gcc 2.x
// force a failure if namespace std isn't honored