stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r399887 - /incubator/stdcxx/trunk/include/rw/_config-gcc.h
Date Thu, 04 May 2006 23:47:21 GMT
Author: sebor
Date: Thu May  4 16:47:18 2006
New Revision: 399887

URL: http://svn.apache.org/viewcvs?rev=399887&view=rev
Log:
2006-05-04  Martin Sebor  <sebor@roguewave.com>

	* _config-gcc.h (_RWSTD_NO_EXCEPTIONS): #defined in response to
	the __EXCEPTIONS macro not being #defined by the compiler, e.g.,
	when the -fno-exceptions command line option is used.

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

Modified: incubator/stdcxx/trunk/include/rw/_config-gcc.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/rw/_config-gcc.h?rev=399887&r1=399886&r2=399887&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_config-gcc.h (original)
+++ incubator/stdcxx/trunk/include/rw/_config-gcc.h Thu May  4 16:47:18 2006
@@ -39,6 +39,15 @@
 #  define _RWSTD_NO_EXPORT
 #endif
 
+#ifndef __EXCEPTIONS
+   // disable exceptions when the macro __EXCEPTIONS
+   // is not #defined by the compiler, e.g., when
+   // the -fno-exceptions option is used
+#  ifndef _RWSTD_NO_EXCEPTIONS
+#    define _RWSTD_NO_EXCEPTIONS
+#  endif
+#endif   // __EXCEPTIONS
+
 #if !defined (_RWSTD_USE_PURE_C_HEADERS)
      // disabled except when requested
 #  define _RWSTD_NO_PURE_C_HEADERS



Mime
View raw message