sebor
Wed, 19 Dec 2007 15:51:03 -0800
Author: sebor Date: Wed Dec 19 15:50:38 2007 New Revision: 605744 URL: http://svn.apache.org/viewvc?rev=605744&view=rev Log: 2007-12-19 Travis Vitek <[EMAIL PROTECTED]>
STDCXX-240
* include/rw/_config-xlc.h [__IBMCPP__]: Conditionally disable
exception support if command line option is set and the compiler
is version 7.0 or later.
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?rev=605744&r1=605743&r2=605744&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_config-xlc.h (original)
+++ incubator/stdcxx/trunk/include/rw/_config-xlc.h Wed Dec 19 15:50:38 2007
@@ -138,7 +138,7 @@
# define _RWSTD_NO_UNDEFINED_TEMPLATES
#endif // __TEMPINC__
-#ifndef __EXCEPTIONS
+#if (__IBMCPP__ >= 700) && !defined(__EXCEPTIONS)
// disable exceptions when the macro __EXCEPTIONS
// is not #defined by the compiler, e.g., when
// the -qnoeh option is used