summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-03 21:05:17 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-03 21:05:17 +0000
commit31f465d7724315d7f067eae42a5e541c5eda9115 (patch)
treeb131efe2b1da0db992d88137850d1d9672be8be1 /TAO/tao
parenta9bd56a4f7b7958e87e13752c287f5056b7e3fdb (diff)
downloadATCD-31f465d7724315d7f067eae42a5e541c5eda9115.tar.gz
ChangeLogTag:Thu Jun 03 15:46:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/Exception.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp
index 7893c797014..bc984b2c2e5 100644
--- a/TAO/tao/Exception.cpp
+++ b/TAO/tao/Exception.cpp
@@ -520,9 +520,9 @@ TAO_Exceptions::make_standard_typecode (CORBA::TypeCode_ptr &tcp,
TAO_SYSTEM_EXCEPTION (TIMEOUT) \
TAO_SYSTEM_EXCEPTION (TRANSACTION_UNAVAILABLE) \
TAO_SYSTEM_EXCEPTION (TRANSACTION_MODE) \
- TAO_SYSTEM_EXCEPTION(TRANSACTION_REQUIRED) \
- TAO_SYSTEM_EXCEPTION(TRANSACTION_ROLLEDBACK) \
- TAO_SYSTEM_EXCEPTION(INVALID_TRANSACTION)
+ TAO_SYSTEM_EXCEPTION (TRANSACTION_REQUIRED) \
+ TAO_SYSTEM_EXCEPTION (TRANSACTION_ROLLEDBACK) \
+ TAO_SYSTEM_EXCEPTION (INVALID_TRANSACTION)
// Declare static storage for these ... the buffer is "naturally"
// aligned and overwritten.
@@ -532,8 +532,11 @@ TAO_Exceptions::make_standard_typecode (CORBA::TypeCode_ptr &tcp,
#define TAO_SYSTEM_EXCEPTION(name) \
static CORBA::Long tc_buf_ ## name [TAO_Exceptions::TC_BUFLEN / sizeof (long)]; \
- CORBA::TypeCode_ptr CORBA::_tc_ ## name;
-STANDARD_EXCEPTION_LIST
+ TAO_NAMESPACE_TYPE(CORBA::TypeCode_ptr) \
+ TAO_NAMESPACE_BEGIN (CORBA) \
+ TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_##name, 0) \
+ TAO_NAMESPACE_END
+ STANDARD_EXCEPTION_LIST
#undef TAO_SYSTEM_EXCEPTION
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)