diff options
author | Steve Huston <shuston@riverace.com> | 2001-12-19 00:03:08 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2001-12-19 00:03:08 +0000 |
commit | f325516447fede8109357f6fb978099fbaee11fa (patch) | |
tree | e2319a3e136a8c0cf82a6b8481f047d85dcf875d /ace/config-hpux-11.00.h | |
parent | e11d8f88032791ef1588b8c18444475fba125dd1 (diff) | |
download | ATCD-f325516447fede8109357f6fb978099fbaee11fa.tar.gz |
ChangeLogTag:Tue Dec 18 18:50:29 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/config-hpux-11.00.h')
-rw-r--r-- | ace/config-hpux-11.00.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/config-hpux-11.00.h b/ace/config-hpux-11.00.h index 2ee406f5e8a..97cc1f29d18 100644 --- a/ace/config-hpux-11.00.h +++ b/ace/config-hpux-11.00.h @@ -108,12 +108,11 @@ // this would change to be a #if against an appropriate value of __HP_aCC # define ACE_LACKS_PLACEMENT_OPERATOR_DELETE -// Compiler's 'new' throws exceptions on failure. However, if the user -// has explicitly turned off exception handling, we can't use the ACE_NEW_* -// macro variants that do try/catch, so don't set this. -# if defined (ACE_HAS_EXCEPTIONS) -# define ACE_NEW_THROWS_EXCEPTIONS -# endif /* ACE_HAS_EXCEPTIONS */ +// Compiler's 'new' throws exceptions on failure, regardless of whether or +// not exception handling is enabled in the compiler options. Fortunately, +// new(nothrow_t) is offered. +# define ACE_NEW_THROWS_EXCEPTIONS +# define ACE_HAS_NEW_NOTHROW // Compiler's template mechanism must see source code (i.e., .C files). # define ACE_TEMPLATES_REQUIRE_SOURCE |