summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-05-01 03:11:08 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-05-01 03:11:08 +0000
commit20c102f25c590e770079c0bc45fade88df8f1bb3 (patch)
tree615b89b2c19a5820190e961f4dee39a34c358ce8
parent1209fd236b5c99c983a1d3d89726c88403d5ba5e (diff)
downloadATCD-20c102f25c590e770079c0bc45fade88df8f1bb3.tar.gz
ChangeLogTag:Sat Apr 30 20:10:11 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r--TAO/ChangeLog24
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp2
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp4
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h3
-rw-r--r--TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.h2
-rw-r--r--TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Factory.h2
-rw-r--r--TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.h2
9 files changed, 37 insertions, 6 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index a7721c0f5c2..f879b6c7cc1 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,27 @@
+Sat Apr 30 20:10:11 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
+
+ * orbsvcs/orbsvcs/Scheduler_Factory.cpp:
+
+ Match format specifier to actual type, i.e. "%lu" for an
+ unsigned long.
+
+ * orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp:
+ * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp:
+
+ Fixed "variable may be used uninitialized" warnings.
+
+ * performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp:
+ * performance-tests/Cubit/TAO/MT_Cubit/Globals.h:
+
+ Added missing virtual destructor. Fixes a g++ 4.0 warning.
+
+ * tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.h:
+ * tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Factory.h:
+ * tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.h:
+
+ Removed extraneous DSO/DLL symbol export declarations from
+ typedef.
+
Sat Apr 30 10:47:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/Union_TypeCode.{h,cpp,inl}:
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp
index d6c0fc79eee..8f8e5497ece 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp
@@ -94,7 +94,7 @@ visit (TAO_Reconfig_Scheduler_Entry &rse)
{
// Iterate over the set of dependencies for the current entry.
TAO_Reconfig_Scheduler_Entry * next_rse = 0;
- TAO_RT_Info_Ex *next_rt_info;
+ TAO_RT_Info_Ex *next_rt_info = 0;
for (u_int i = 0; i < dependency_set->length (); ++i)
{
// Skip over disabled dependencies
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp
index a37f9e0200b..499b2d04518 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp
@@ -2781,7 +2781,7 @@ assign_priorities_i (ACE_ENV_SINGLE_ARG_DECL)
// Empty out the previously stored configuration infos, if any.
RtecScheduler::Preemption_Priority_t config_priority;
- RtecScheduler::Config_Info *config_info_temp;
+ RtecScheduler::Config_Info *config_info_temp = 0;
while (config_info_map_.current_size () > 0)
{
config_priority = (*config_info_map_.begin ()).ext_id_;
diff --git a/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp b/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp
index c915b6cd15f..df8d04afcd3 100644
--- a/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp
+++ b/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp
@@ -710,7 +710,7 @@ ACE_Scheduler_Factory::log_scheduling_tuples(
static const char subset_tuple_format[] =
" {\n"
"%13d, /* handle */\n"
- "%13d, /* rate_index */\n"
+ "%13lu, /* rate_index */\n"
"%13d, /* period */\n"
"%13d, /* criticality */\n"
"%13d, /* priority */\n"
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp
index 0eb9786cb70..3ca27a1ae3c 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp
@@ -117,6 +117,10 @@ MT_Priority::MT_Priority (void)
{
}
+MT_Priority::~MT_Priority (void)
+{
+}
+
ACE_Sched_Priority
MT_Priority::get_high_priority (void)
{
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h
index 089c7984ad8..cfc4b638fee 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h
@@ -185,6 +185,9 @@ public:
MT_Priority (void);
// constructor.
+ /// Destructor.
+ virtual ~MT_Priority (void);
+
virtual ACE_Sched_Priority get_high_priority (void);
// Sets the priority of the high priority thread.
diff --git a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.h b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.h
index 272fe76a29a..4fca6ce1954 100644
--- a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.h
+++ b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Factory.h
@@ -29,7 +29,7 @@
#include "IBM1047_ISO8859_export.h"
#include "Char_IBM1047_ISO8859_Translator.h"
-typedef IBM1047_ISO8859_Export TAO_Codeset_Translator_Factory_T<IBM1047_ISO8859> Char_IBM1047_ISO8859_Factory;
+typedef TAO_Codeset_Translator_Factory_T<IBM1047_ISO8859> Char_IBM1047_ISO8859_Factory;
ACE_STATIC_SVC_DECLARE_EXPORT (IBM1047_ISO8859, Char_IBM1047_ISO8859_Factory)
ACE_FACTORY_DECLARE (IBM1047_ISO8859, Char_IBM1047_ISO8859_Factory)
diff --git a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Factory.h b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Factory.h
index 966d0992b1a..906b0b8d801 100644
--- a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Factory.h
+++ b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Factory.h
@@ -30,7 +30,7 @@
#include "IBM1047_ISO8859_export.h"
#include "Wchar_IBM1047_ISO8859_Translator.h"
-typedef IBM1047_ISO8859_Export TAO_Codeset_Translator_Factory_T<WIBM1047_ISO8859> Wchar_IBM1047_ISO8859_Factory;
+typedef TAO_Codeset_Translator_Factory_T<WIBM1047_ISO8859> Wchar_IBM1047_ISO8859_Factory;
ACE_STATIC_SVC_DECLARE_EXPORT (IBM1047_ISO8859, Wchar_IBM1047_ISO8859_Factory)
ACE_FACTORY_DECLARE (IBM1047_ISO8859, Wchar_IBM1047_ISO8859_Factory)
diff --git a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.h b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.h
index d3218c5a913..058aa1e0482 100644
--- a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.h
+++ b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.h
@@ -21,7 +21,7 @@
#include "WUCS4_UTF16_export.h"
#include "WUCS4_UTF16.h"
-typedef UCS4_UTF16_Export TAO_Codeset_Translator_Factory_T<WUCS4_UTF16> WUCS4_UTF16_Factory;
+typedef TAO_Codeset_Translator_Factory_T<WUCS4_UTF16> WUCS4_UTF16_Factory;
ACE_STATIC_SVC_DECLARE_EXPORT (UCS4_UTF16, WUCS4_UTF16_Factory)
ACE_FACTORY_DECLARE (UCS4_UTF16, WUCS4_UTF16_Factory)