diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-06 10:24:03 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-06 10:24:03 +0200 |
commit | cb68090e23b22ae8c3312955d9cd2d3fd957db3c (patch) | |
tree | da020c9593bf8a4fa4ba9d72eb42aefe2e2665d1 | |
parent | 9a4de67ddf1ce60fe8e56c00ee92e52593c09973 (diff) | |
download | ATCD-cb68090e23b22ae8c3312955d9cd2d3fd957db3c.tar.gz |
Cleanup more ACE_NEW_THROWS_EXCEPTIONS
* ACE/ace/config-g++-common.h:
* ACE/ace/config-suncc-common.h:
* ACE/ace/config-sunos5.4-sunc++-4.x.h:
* ACE/ace/config-sunos5.5.h:
* ACE/ace/config-win32-msvc-14.h:
* ACE/ace/config-win32-msvc.h:
-rw-r--r-- | ACE/ace/config-g++-common.h | 1 | ||||
-rw-r--r-- | ACE/ace/config-suncc-common.h | 2 | ||||
-rw-r--r-- | ACE/ace/config-sunos5.4-sunc++-4.x.h | 4 | ||||
-rw-r--r-- | ACE/ace/config-sunos5.5.h | 4 | ||||
-rw-r--r-- | ACE/ace/config-win32-msvc-14.h | 1 | ||||
-rw-r--r-- | ACE/ace/config-win32-msvc.h | 3 |
6 files changed, 0 insertions, 15 deletions
diff --git a/ACE/ace/config-g++-common.h b/ACE/ace/config-g++-common.h index 2155016f926..2c485720032 100644 --- a/ACE/ace/config-g++-common.h +++ b/ACE/ace/config-g++-common.h @@ -18,7 +18,6 @@ #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 #define ACE_TEMPLATES_REQUIRE_SOURCE #define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS -#define ACE_NEW_THROWS_EXCEPTIONS #define ACE_HAS_NEW_NOTHROW #if __cplusplus >= 201103L diff --git a/ACE/ace/config-suncc-common.h b/ACE/ace/config-suncc-common.h index 2ba8812b9d5..7953f85e32a 100644 --- a/ACE/ace/config-suncc-common.h +++ b/ACE/ace/config-suncc-common.h @@ -23,8 +23,6 @@ # define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) __extension__ extern template class SINGLETON_TYPE<CLASS, LOCK>; #endif /* ACE_HAS_CUSTOM_EXPORT_MACROS == 0 */ -#define ACE_NEW_THROWS_EXCEPTIONS - #if (defined (i386) || defined (__i386__)) && !defined (ACE_SIZEOF_LONG_DOUBLE) # define ACE_SIZEOF_LONG_DOUBLE 12 #endif /* i386 */ diff --git a/ACE/ace/config-sunos5.4-sunc++-4.x.h b/ACE/ace/config-sunos5.4-sunc++-4.x.h index c4c7fa4bcc1..4bcec509c33 100644 --- a/ACE/ace/config-sunos5.4-sunc++-4.x.h +++ b/ACE/ace/config-sunos5.4-sunc++-4.x.h @@ -168,9 +168,5 @@ #define ACE_HAS_GPERF #define ACE_HAS_DIRENT -// If exceptions are enabled and we are using Sun/CC then -// <operator new> throws an exception instead of returning 0. -#define ACE_NEW_THROWS_EXCEPTIONS - #include /**/ "ace/post.h" #endif /* ACE_CONFIG_H */ diff --git a/ACE/ace/config-sunos5.5.h b/ACE/ace/config-sunos5.5.h index f17db1ba32a..4861a626e56 100644 --- a/ACE/ace/config-sunos5.5.h +++ b/ACE/ace/config-sunos5.5.h @@ -57,10 +57,6 @@ # define ACE_LACKS_LINEBUFFERED_STREAMBUF # define ACE_LACKS_SIGNED_CHAR -// If exceptions are enabled and we are using Sun/CC then -// <operator new> throws an exception instead of returning 0. -#define ACE_NEW_THROWS_EXCEPTIONS - /* If you want to disable threading with Sun CC, remove -mt from your CFLAGS, e.g., using make threads=0. */ diff --git a/ACE/ace/config-win32-msvc-14.h b/ACE/ace/config-win32-msvc-14.h index d37063cb7b2..524be571e4c 100644 --- a/ACE/ace/config-win32-msvc-14.h +++ b/ACE/ace/config-win32-msvc-14.h @@ -92,7 +92,6 @@ # define ACE_LACKS_ACE_IOSTREAM # endif /* ! ACE_USES_OLD_IOSTREAMS */ -#define ACE_NEW_THROWS_EXCEPTIONS #define ACE_HAS_NEW_NOTHROW #else diff --git a/ACE/ace/config-win32-msvc.h b/ACE/ace/config-win32-msvc.h index 63004ef78ce..5a2dd311e8f 100644 --- a/ACE/ace/config-win32-msvc.h +++ b/ACE/ace/config-win32-msvc.h @@ -54,9 +54,6 @@ // (see ace/OS_Memory.h). This MFC exception object needs to be cleaned up // by calling its Delete() method. #if defined (ACE_HAS_MFC) && (ACE_HAS_MFC == 1) -# if !defined (ACE_NEW_THROWS_EXCEPTIONS) -# define ACE_NEW_THROWS_EXCEPTIONS -# endif # if defined (ACE_bad_alloc) # undef ACE_bad_alloc # endif |