summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-12 01:56:01 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-12 01:56:01 +0000
commiteb4c744a7d0ae79b119fc8653285bcedd592db15 (patch)
treeb9776fdaa74827821b10ad3f8f53d1872e339dc3
parentdd162e966e10861b77144645a3ff7268c90178d1 (diff)
downloadATCD-eb4c744a7d0ae79b119fc8653285bcedd592db15.tar.gz
ChangeLogTag:Thu Mar 11 19:55:18 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r--TAO/ChangeLog-99c12
-rw-r--r--TAO/tao/Object.cpp15
-rw-r--r--TAO/tao/encode.cpp1
-rwxr-xr-xTAO/tests/Param_Test/run_test.pl2
4 files changed, 21 insertions, 9 deletions
diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c
index e8cb03fda73..a9a7eaa1dbd 100644
--- a/TAO/ChangeLog-99c
+++ b/TAO/ChangeLog-99c
@@ -1,3 +1,15 @@
+Thu Mar 11 19:55:18 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
+
+ * tao/Object.cpp:
+ Fixed template instantiations and some warnings.
+
+ * tao/encode.cpp:
+ Removed unused variable.
+
+ * tests/Param_Test/run_test.pl:
+ Use IOR object references, they are actually easier than
+ URL-style.
+
Thu Mar 11 19:07:20 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/CDR.h:
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index 2984de7a9ad..8dc6b5c2657 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -61,13 +61,13 @@ CORBA_Object::_get_interface (CORBA::Environment &ACE_TRY_ENV)
if (istub == 0)
ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval);
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"_interface",
TAO_ORB_Core_instance ()
);
-
+
// If we get forwarded we have to return to this point:
_tao_start_again:
@@ -111,8 +111,8 @@ _tao_start_again:
if (_invoke_status == TAO_GIOP_NO_EXCEPTION)
{
istub->set_valid_profile ();
- TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
#if 0
+ TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
// @@ The extraction operation (>>) for InterfaceDef will be
// defined, and thus this code will work. Right now we raise a
// MARSHAL exception....
@@ -138,7 +138,8 @@ _tao_start_again:
ACE_THROW_RETURN (CORBA::UNKNOWN (CORBA::COMPLETED_MAYBE), _tao_retval);
}
- return _tao_retval;
+ // @@ This statement is not reached due to the #if 0 above...
+ ACE_NOTREACHED (return _tao_retval);
}
// IS_A ... ask the object if it's an instance of the type whose
@@ -296,13 +297,13 @@ CORBA_Object::_non_existent (CORBA::Environment &ACE_TRY_ENV)
if (istub == 0)
ACE_THROW_RETURN (CORBA::INV_OBJREF (CORBA::COMPLETED_NO), _tao_retval);
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"_non_existent",
TAO_ORB_Core_instance ()
);
-
+
// If we get forwarded we have to return to this point:
_tao_start_again:
@@ -636,7 +637,7 @@ TAO_Object_Field::~TAO_Object_Field (void)
template class TAO_Object_Field_T<CORBA_Object>;
template class auto_ptr<TAO_MProfile>;
-template class ACE_Auto_Ptr<TAO_MProfile>;
+template class ACE_Auto_Basic_Ptr<TAO_MProfile>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
diff --git a/TAO/tao/encode.cpp b/TAO/tao/encode.cpp
index d617374520e..7125d122ce4 100644
--- a/TAO/tao/encode.cpp
+++ b/TAO/tao/encode.cpp
@@ -232,7 +232,6 @@ TAO_Marshal_Principal::encode (CORBA::TypeCode_ptr,
void *context,
CORBA::Environment &env)
{
- CORBA::Boolean continue_encoding = 1;
TAO_OutputCDR *stream = (TAO_OutputCDR *) context;
CORBA::Principal_ptr p = *(CORBA::Principal_ptr *) data;
diff --git a/TAO/tests/Param_Test/run_test.pl b/TAO/tests/Param_Test/run_test.pl
index 92a9249519c..3ff2eefa64c 100755
--- a/TAO/tests/Param_Test/run_test.pl
+++ b/TAO/tests/Param_Test/run_test.pl
@@ -20,7 +20,7 @@ sub run_test
my $type = shift(@_);
$SV = Process::Create ($EXEPREFIX."server".$Process::EXE_EXT,
- "$debug -ORBobjrefstyle url -ORBport $port -o ".
+ "$debug -ORBport $port -o ".
$iorfile);
ACE::waitforfile ($iorfile);