stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r544804 - /incubator/stdcxx/trunk/src/typeinfo.cpp
Date Wed, 06 Jun 2007 11:11:20 GMT
Author: faridz
Date: Wed Jun  6 04:11:19 2007
New Revision: 544804

URL: http://svn.apache.org/viewvc?view=rev&rev=544804
Log:
2007-06-06 Farid Zaripov <Farid_Zaripov@epam.com>

	STDCXX-188
	* typeinfo.cpp: use ::_C_name or std::_C_name depending on _RWSTD_NO_STD_TYPE_INFO macro

Modified:
    incubator/stdcxx/trunk/src/typeinfo.cpp

Modified: incubator/stdcxx/trunk/src/typeinfo.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/typeinfo.cpp?view=diff&rev=544804&r1=544803&r2=544804
==============================================================================
--- incubator/stdcxx/trunk/src/typeinfo.cpp (original)
+++ incubator/stdcxx/trunk/src/typeinfo.cpp Wed Jun  6 04:11:19 2007
@@ -93,7 +93,11 @@
 const char* type_info::name () const
 {
     // silence warning: _C_name declared but never used
+#ifdef _RWSTD_NO_STD_TYPE_INFO
     _RWSTD_UNUSED (::_C_name);
+#else
+    _RWSTD_UNUSED (std::_C_name);
+#endif   // _RWSTD_NO_STD_TYPE_INFO
 
     return _C_name;
 }



Mime
View raw message