diff options
author | Steve Huston <shuston@riverace.com> | 2001-03-02 17:31:49 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2001-03-02 17:31:49 +0000 |
commit | 3f0c61d44a45bcdc7826a6b2504131008639a62f (patch) | |
tree | 7dd25e6a9765693a8b74306fb59d6a22a2eebd1a /ace/config-hpux-10.x-hpc++.h | |
parent | 33384a4e17c5e2b3e1eb04be737b353e74c0eef0 (diff) | |
download | ATCD-3f0c61d44a45bcdc7826a6b2504131008639a62f.tar.gz |
ChangeLogTag:Fri Mar 02 12:24:27 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/config-hpux-10.x-hpc++.h')
-rw-r--r-- | ace/config-hpux-10.x-hpc++.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ace/config-hpux-10.x-hpc++.h b/ace/config-hpux-10.x-hpc++.h index dfb63912c15..360b80082a4 100644 --- a/ace/config-hpux-10.x-hpc++.h +++ b/ace/config-hpux-10.x-hpc++.h @@ -47,7 +47,7 @@ # define volatile #else // aC++ definitions - + // Parts of TAO (at least) use __HP_aCC to detect this compiler, but the // macro is not set until A.01.18. If it's not set, set it - it won't be an // HP-advertised value, but we don't check the value/version - just whether @@ -68,8 +68,10 @@ // Compiler can't handle calls like foo->operator T *() # define ACE_HAS_BROKEN_CONVERSIONS -// Compiler supports C++ exception handling -# define ACE_HAS_EXCEPTIONS +// Compiler supports C++ exception handling, unless we turned it off with +noeh +# if !defined (__HPACC_NOEH) +# define ACE_HAS_EXCEPTIONS +# endif /* __HPACC_NOEH */ // Compiler enforces the "One Definition Rule" # define ACE_HAS_ONE_DEFINITION_RULE @@ -102,7 +104,10 @@ # define ACE_HAS_TEMPLATE_SPECIALIZATION // Compiler's runtime new throws bad_alloc on out-of-memory condition. -# define ACE_NEW_THROWS_EXCEPTIONS +// If being compiled without exceptions though (+noeh), it doesn't. +# if defined (ACE_HAS_EXCEPTIONS) +# define ACE_NEW_THROWS_EXCEPTIONS +# endif /* ACE_HAS_EXCEPTIONS */ #endif /* __cplusplus < 199707L */ @@ -118,7 +123,7 @@ // Compiler doesn't handle 'signed char' correctly (used in ace/IOStream.h) #define ACE_LACKS_SIGNED_CHAR -#include "ace/config-hpux-10.x.h" /* OS information */ +#include "ace/config-hpux-10.x.h" /* OS information */ #include "ace/post.h" #endif /* ACE_CONFIG_H */ |