stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r524335 - /incubator/stdcxx/trunk/include/rw/_config-xlc.h
Date Sat, 31 Mar 2007 00:36:28 GMT
Author: sebor
Date: Fri Mar 30 17:36:27 2007
New Revision: 524335

URL: http://svn.apache.org/viewvc?view=rev&rev=524335
Log:
2007-03-30  Martin Sebor  <sebor@roguewave.com>

	STDCXX-379
	* _config-xlc.h (_RWSTD_NO_EXTERN_TEMPLATE): Hardcoded macro
	for XLC++ 8.0 and prior to work around a compiler bug.

Modified:
    incubator/stdcxx/trunk/include/rw/_config-xlc.h

Modified: incubator/stdcxx/trunk/include/rw/_config-xlc.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_config-xlc.h?view=diff&rev=524335&r1=524334&r2=524335
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_config-xlc.h (original)
+++ incubator/stdcxx/trunk/include/rw/_config-xlc.h Fri Mar 30 17:36:27 2007
@@ -93,6 +93,14 @@
 #  endif   // REENTRANT && LP64
 #endif   // AIX
 
+#if __IBMCPP__ <= 800
+#  ifndef _RWSTD_NO_EXTERN_TEMPLATE
+     // disable extern template to work around an XLC++ 8.0 bug
+     // (see STDCXX-379)
+#    define _RWSTD_NO_EXTERN_TEMPLATE
+#  endif   // _RWSTD_NO_EXTERN_TEMPLATE
+#endif   // XLC++ 8.0 or prior
+
 #if __IBMCPP__ == 800
 
 #  if !defined (__TEMPINC__) && defined (_RWSTD_NO_INSTANTIATE_DEFAULT_ARGS)



Mime
View raw message