summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-12-20 21:05:46 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-12-20 21:05:46 +0000
commit0a97405b28821940b4728f573de50bc256f98c23 (patch)
treec3dfe3d6525a62598d92882219125e83d10e4b3a /TAO
parent5dd031bfe7823d06e4fd69cf90729ccc8a6063e0 (diff)
downloadATCD-0a97405b28821940b4728f573de50bc256f98c23.tar.gz
ChangeLogTag: Wed Dec 20 20:59:39 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog25
-rw-r--r--TAO/tao/TC.mpc8
-rw-r--r--TAO/tao/TC_IIOP.mpc8
-rw-r--r--TAO/tao/TransportCurrent/Current_Loader.cpp43
-rw-r--r--TAO/tao/TransportCurrent/Current_Loader.h6
-rw-r--r--TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp3
-rw-r--r--TAO/tao/TransportCurrent/IIOP_Current_Impl.cpp4
7 files changed, 39 insertions, 58 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 5353929bc47..6061e7c8f92 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,28 @@
+Wed Dec 20 20:59:39 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>
+
+ These are fixes correcting scoreboard issues pertaining to the
+ checkin from Tue Dec 19 22:09:34 UTC 2006.
+
+ * tao/TC.mpc:
+ * tao/TC_IIOP.mpc:
+
+ Updated the IDL compile options and include file path to reflect
+ the new position of these files (since Wed Dec 20 17:34:07)
+
+ * tao/TransportCurrent/Current_Loader.h:
+ * tao/TransportCurrent/Current_Loader.cpp:
+
+ Eliminated unnecessary code.
+
+ * tao/TransportCurrent/Current_ORBInitializer_Base.cpp:
+
+ Removed unnecessary #include "ace/post.h"
+
+ * tao/TransportCurrent/IIOP_Current_Impl.cpp:
+
+ Added an explicit cast to silence Windows builds complaining
+ about implicit conversion between HANDLE and CORBA::Long.
+
Wed Dec 20 17:34:07 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
* configure.ac:
diff --git a/TAO/tao/TC.mpc b/TAO/tao/TC.mpc
index 1e7dd691e0f..0d432c95181 100644
--- a/TAO/tao/TC.mpc
+++ b/TAO/tao/TC.mpc
@@ -26,10 +26,12 @@ project(*) : taolib_with_idl, tao_versioning_idl_defaults, core, interceptors, p
TransportCurrent/Current_ORBInitializer.cpp
}
- idlflags += -Wb,export_include=tao/TransportCurrent/Transport_Current_Export.h
- idlflags += -Wb,export_macro=TAO_Transport_Current_Export
-
IDL_Files {
+ idlflags += -Wb,export_include=tao/TransportCurrent/Transport_Current_Export.h \
+ -Wb,export_macro=TAO_Transport_Current_Export \
+ -o TransportCurrent -I./TransportCurrent
+ idlflags -= -Sa -St
+
TransportCurrent/TC.idl
}
diff --git a/TAO/tao/TC_IIOP.mpc b/TAO/tao/TC_IIOP.mpc
index 3d00cd9c8d2..e39f544602b 100644
--- a/TAO/tao/TC_IIOP.mpc
+++ b/TAO/tao/TC_IIOP.mpc
@@ -24,10 +24,12 @@ project(*) : taolib_with_idl, tao_versioning_idl_defaults, core, interceptors, p
Template_Files {
}
- idlflags += -Wb,export_include=tao/TransportCurrent/Transport_Current_Export.h
- idlflags += -Wb,export_macro=TAO_Transport_Current_Export
-
IDL_Files {
+ idlflags += -Wb,export_include=tao/TransportCurrent/Transport_Current_Export.h \
+ -Wb,export_macro=TAO_Transport_Current_Export \
+ -o TransportCurrent -I./TransportCurrent
+ idlflags -= -Sa -St
+
TransportCurrent/TC_IIOP.idl
}
diff --git a/TAO/tao/TransportCurrent/Current_Loader.cpp b/TAO/tao/TransportCurrent/Current_Loader.cpp
index c20e43fd34a..c96007e7c2e 100644
--- a/TAO/tao/TransportCurrent/Current_Loader.cpp
+++ b/TAO/tao/TransportCurrent/Current_Loader.cpp
@@ -34,49 +34,7 @@ namespace TAO
namespace Transport
{
-// /// A helper method for obtaining access to the the Transport
-// /// Factory Manager instance.
-
-// Current_Loader*
-// Current_Loader::instance (void)
-// {
-// Current_Loader *cl =
-// ACE_Dynamic_Service <Current_Loader>::instance (ACE_TEXT ("TAO_Transport_Current_Loader"));
-
-// if (cl == 0)
-// #if defined (TAO_AS_STATIC_LIBS)
-// {
-// if (TAO_debug_level > 0)
-// ACE_ERROR_RETURN ((LM_ERROR,
-// ACE_TEXT ("(%P|%t) Unable to obtain Current::Loader instance: %m\n")),
-// 0);
-// return 0;
-// }
-// #else
-// {
-// // In case we build shared, try to load the appropriate library.
-// ACE_Service_Config::process_directive
-// (ACE_DYNAMIC_SERVICE_DIRECTIVE("TAO_Transport_Current_Loader",
-// "TAO_TC",
-// "_make_TAO_Transport_Current_Loader",
-// ""));
-// cl = ACE_Dynamic_Service<Current_Loader>::instance (ACE_TEXT ("TAO_Transport_Current_Loader"));
-// }
-// #endif /* TAO_AS_STATIC_LIBS */
-
-// if (cl != 0)
-// return cl;
-
-// if (TAO_debug_level > 0)
-// ACE_ERROR_RETURN ((LM_ERROR,
-// ACE_TEXT ("(%P|%t) Unable to obtain Current::Loader instance: %m\n")),
-// 0);
-// return 0;
-// }
-
-
/// dtor
-
Current_Loader::~Current_Loader (void)
{
}
@@ -84,7 +42,6 @@ namespace TAO
/// Initializes object when dynamic linking occurs.
-
int
Current_Loader::init (int, ACE_TCHAR *[])
{
diff --git a/TAO/tao/TransportCurrent/Current_Loader.h b/TAO/tao/TransportCurrent/Current_Loader.h
index d31a8a624ad..ef01b20ff73 100644
--- a/TAO/tao/TransportCurrent/Current_Loader.h
+++ b/TAO/tao/TransportCurrent/Current_Loader.h
@@ -40,12 +40,6 @@ namespace TAO
{
public:
-// /// A helper method for obtaining access to the the Transport
-// /// Factory Manager instance.
-// static Current_Loader* instance (void);
-
- public:
-
/// Initializes object when dynamic linking occurs.
virtual int init (int argc, ACE_TCHAR *argv[]);
diff --git a/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp b/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp
index 084d6cf6c10..05c7d100dd3 100644
--- a/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp
+++ b/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp
@@ -3,6 +3,7 @@
#include "tao/PI/ORBInitInfo.h"
#include "tao/TransportCurrent/Current_ORBInitializer_Base.h"
+
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
@@ -71,5 +72,3 @@ namespace TAO
}
TAO_END_VERSIONED_NAMESPACE_DECL
-
-#include /**/ "ace/post.h"
diff --git a/TAO/tao/TransportCurrent/IIOP_Current_Impl.cpp b/TAO/tao/TransportCurrent/IIOP_Current_Impl.cpp
index 649cb6258ed..435a54eab6a 100644
--- a/TAO/tao/TransportCurrent/IIOP_Current_Impl.cpp
+++ b/TAO/tao/TransportCurrent/IIOP_Current_Impl.cpp
@@ -54,7 +54,9 @@ namespace TAO
IIOP_Current_Impl::id (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((::CORBA::SystemException, NoContext))
{
- return this->handler ()->get_handle ();
+ // Need to use cast to pacify windows compilers complaining
+ // about the implicit HANDLE -> CORBA::Long conversion.
+ return (CORBA::Long) this->handler ()->get_handle ();
}
::SSLIOP::Current_ptr