diff options
-rw-r--r-- | ACE/ChangeLog | 7 | ||||
-rw-r--r-- | ACE/ace/OS_NS_unistd.cpp | 8 | ||||
-rw-r--r-- | ACE/ace/Pagefile_Memory_Pool.cpp | 4 | ||||
-rw-r--r-- | ACE/ace/Pagefile_Memory_Pool.h | 3 |
4 files changed, 22 insertions, 0 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 2c0ea851887..8c81a4e5650 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,10 @@ +Mon May 11 18:17:05 2009 Johnny Willemsen <jwillemsen@remedy.nl> + + * ace/OS_NS_unistd.cpp: + * ace/Pagefile_Memory_Pool.cpp: + * ace/Pagefile_Memory_Pool.h: + Fixed cegcc compile warnings + Sun May 10 14:50:46 UTC 2009 Douglas C. Schmidt <schmidt@dre.vanderbilt.edu> * m4/aio.m4 (Test_Aio): Removed all the commented out 'cout' diff --git a/ACE/ace/OS_NS_unistd.cpp b/ACE/ace/OS_NS_unistd.cpp index c7c2f32e8d4..033a1e36fb3 100644 --- a/ACE/ace/OS_NS_unistd.cpp +++ b/ACE/ace/OS_NS_unistd.cpp @@ -69,6 +69,10 @@ ACE_OS::argv_to_string (int argc, bool substitute_env_args, bool quote_args) { +#if defined (ACE_LACKS_STRENVDUP) + ACE_UNUSED_ARG (substitute_env_args); +#endif /* ACE_LACKS_STRENVDUP */ + if (argc <= 0 || argv == 0 || argv[0] == 0) return 0; @@ -762,6 +766,10 @@ ACE_OS::string_to_argv (ACE_TCHAR *buf, ACE_TCHAR **&argv, bool substitute_env_args) { +#if defined (ACE_LACKS_STRENVDUP) + ACE_UNUSED_ARG (substitute_env_args); +#endif /* ACE_LACKS_STRENVDUP */ + // Reset the number of arguments argc = 0; diff --git a/ACE/ace/Pagefile_Memory_Pool.cpp b/ACE/ace/Pagefile_Memory_Pool.cpp index 9fa2a5f9302..1651bd2777f 100644 --- a/ACE/ace/Pagefile_Memory_Pool.cpp +++ b/ACE/ace/Pagefile_Memory_Pool.cpp @@ -95,6 +95,10 @@ ACE_Pagefile_Memory_Pool::ACE_Pagefile_Memory_Pool (const ACE_TCHAR *backing_sto ACE_TEXT ("_")); } +ACE_Pagefile_Memory_Pool::~ACE_Pagefile_Memory_Pool (void) +{ +} + void * ACE_Pagefile_Memory_Pool::acquire (size_t nbytes, size_t &rounded_bytes) diff --git a/ACE/ace/Pagefile_Memory_Pool.h b/ACE/ace/Pagefile_Memory_Pool.h index a82e5706c3f..76951771a73 100644 --- a/ACE/ace/Pagefile_Memory_Pool.h +++ b/ACE/ace/Pagefile_Memory_Pool.h @@ -67,6 +67,9 @@ public: ACE_Pagefile_Memory_Pool (const ACE_TCHAR *backing_store_name = 0, const OPTIONS *options = 0); + /// Destructor + virtual ~ACE_Pagefile_Memory_Pool (void); + /// Ask system for initial chunk of shared memory. void *init_acquire (size_t nbytes, size_t &rounded_bytes, |