diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-11-27 14:56:44 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-11-27 14:56:44 +0000 |
commit | 9a929521060df543ce1fb5c26811369094005703 (patch) | |
tree | 4f4a42bd618291276106475b83666f2c65985f6d /TAO | |
parent | 3aec8cd055cd44b2d7307c1de603c0173b53cb78 (diff) | |
download | ATCD-9a929521060df543ce1fb5c26811369094005703.tar.gz |
ChangeLogTag:Thu Nov 27 08:55:48 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/tests/AMI/client.cpp | 20 | ||||
-rw-r--r-- | TAO/tests/AMI/simple_client.cpp | 19 |
3 files changed, 42 insertions, 4 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 93ca7bbe181..ec533dcd58a 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Thu Nov 27 08:55:48 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * tests/AMI/client.cpp: + * tests/AMI/simple_client.cpp: + + Fixed compile errors with g++. + Thu Nov 27 10:51:00 UTC 2003 Don Hinton <dhinton@dresystems.com> * tao/RTPortableServer/Makefile: diff --git a/TAO/tests/AMI/client.cpp b/TAO/tests/AMI/client.cpp index b444785102f..46e46a11f62 100644 --- a/TAO/tests/AMI/client.cpp +++ b/TAO/tests/AMI/client.cpp @@ -21,8 +21,8 @@ #include "ace/Task.h" #include "ami_testS.h" -ACE_RCSID (AMI, - client, +ACE_RCSID (AMI, + client, "$Id$") const char *ior = "file://test.ior"; @@ -168,6 +168,22 @@ public: "Callback method <set_yadda_excep> called: \n")); }; ~Handler (void) {}; + + void inout_arg_test ( + const char * + ACE_ENV_ARG_DECL_NOT_USED + ) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + ACE_DEBUG ((LM_DEBUG, + "Callback method <set_yadda_excep> called: \n")); + } + + void inout_arg_test_excep (A::AMI_AMI_TestExceptionHolder * + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + } }; // ReplyHandler. diff --git a/TAO/tests/AMI/simple_client.cpp b/TAO/tests/AMI/simple_client.cpp index 3cd2ee788e7..ddf9af50fb1 100644 --- a/TAO/tests/AMI/simple_client.cpp +++ b/TAO/tests/AMI/simple_client.cpp @@ -22,8 +22,8 @@ #include "ami_testS.h" -ACE_RCSID (AMI, - simple_client, +ACE_RCSID (AMI, + simple_client, "$Id$") const char *ior = "file://test.ior"; @@ -150,6 +150,21 @@ public: "Callback method <set_yadda_excep> called: \n")); }; + void inout_arg_test ( + const char * + ACE_ENV_ARG_DECL_NOT_USED + ) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + ACE_DEBUG ((LM_DEBUG, + "Callback method <set_yadda_excep> called: \n")); + } + + void inout_arg_test_excep (A::AMI_AMI_TestExceptionHolder * + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + } }; int |