diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/DLL/Newsweek.cpp | 1 | ||||
-rw-r--r-- | examples/DLL/Today.cpp | 1 | ||||
-rw-r--r-- | examples/DLL/test_dll.cpp | 1 | ||||
-rw-r--r-- | examples/IPC_SAP/ATM_SAP/CPP-client.cpp | 1 | ||||
-rw-r--r-- | examples/IPC_SAP/ATM_SAP/CPP-server.cpp | 1 | ||||
-rw-r--r-- | examples/OS/Process/process.cpp | 1 | ||||
-rw-r--r-- | examples/Reactor/Multicast/client.cpp | 1 | ||||
-rw-r--r-- | examples/Web_Crawler/URL_Addr.cpp | 13 |
8 files changed, 15 insertions, 5 deletions
diff --git a/examples/DLL/Newsweek.cpp b/examples/DLL/Newsweek.cpp index 0a6c63dc1ff..a8ef349ec07 100644 --- a/examples/DLL/Newsweek.cpp +++ b/examples/DLL/Newsweek.cpp @@ -3,6 +3,7 @@ #define ACE_BUILD_SVC_DLL #include "Newsweek.h" +#include "ace/Log_Msg.h" // Implementation of the abstract class method which describes // the magazine. diff --git a/examples/DLL/Today.cpp b/examples/DLL/Today.cpp index 8ee8b986b25..39e81489cc8 100644 --- a/examples/DLL/Today.cpp +++ b/examples/DLL/Today.cpp @@ -3,6 +3,7 @@ #define ACE_BUILD_SVC_DLL #include "Today.h" +#include "ace/Log_Msg.h" // Implementation of the abstract class method which describes the // magazine. diff --git a/examples/DLL/test_dll.cpp b/examples/DLL/test_dll.cpp index 45df35c4f87..6ac89a349dc 100644 --- a/examples/DLL/test_dll.cpp +++ b/examples/DLL/test_dll.cpp @@ -6,6 +6,7 @@ #include "Magazine.h" #include "ace/DLL.h" #include "ace/Auto_Ptr.h" +#include "ace/Log_Msg.h" ACE_RCSID(DLL, test_dll, "$Id$") diff --git a/examples/IPC_SAP/ATM_SAP/CPP-client.cpp b/examples/IPC_SAP/ATM_SAP/CPP-client.cpp index b902123f18e..e7b371a5801 100644 --- a/examples/IPC_SAP/ATM_SAP/CPP-client.cpp +++ b/examples/IPC_SAP/ATM_SAP/CPP-client.cpp @@ -3,6 +3,7 @@ #include "ace/ATM_Connector.h" #include "ace/ATM_Addr.h" #include "ace/High_Res_Timer.h" +#include "ace/Log_Msg.h" ACE_RCSID(ATM_SAP, CPP_client, "$Id$") diff --git a/examples/IPC_SAP/ATM_SAP/CPP-server.cpp b/examples/IPC_SAP/ATM_SAP/CPP-server.cpp index 44871ba8869..e9c3395d42a 100644 --- a/examples/IPC_SAP/ATM_SAP/CPP-server.cpp +++ b/examples/IPC_SAP/ATM_SAP/CPP-server.cpp @@ -3,6 +3,7 @@ #include "ace/ATM_Acceptor.h" #include "ace/ATM_Addr.h" #include "ace/High_Res_Timer.h" +#include "ace/Log_Msg.h" ACE_RCSID(ATM_SAP, CPP_ATM_server, "$Id$") diff --git a/examples/OS/Process/process.cpp b/examples/OS/Process/process.cpp index 6f7c2d82ad6..fd33ff7f4b7 100644 --- a/examples/OS/Process/process.cpp +++ b/examples/OS/Process/process.cpp @@ -20,6 +20,7 @@ #include "ace/OS.h" #include "ace/Get_Opt.h" #include "ace/Process.h" +#include "ace/Log_Msg.h" ACE_RCSID(Process, process, "$Id$") diff --git a/examples/Reactor/Multicast/client.cpp b/examples/Reactor/Multicast/client.cpp index d194ce6bf79..94032f4333c 100644 --- a/examples/Reactor/Multicast/client.cpp +++ b/examples/Reactor/Multicast/client.cpp @@ -4,6 +4,7 @@ // Log_Wrapper. #include "ace/Get_Opt.h" +#include "ace/Log_Msg.h" #include "Log_Wrapper.h" ACE_RCSID(Multicast, client, "$Id$") diff --git a/examples/Web_Crawler/URL_Addr.cpp b/examples/Web_Crawler/URL_Addr.cpp index 470ca13fc8c..259fb05517e 100644 --- a/examples/Web_Crawler/URL_Addr.cpp +++ b/examples/Web_Crawler/URL_Addr.cpp @@ -1,5 +1,7 @@ // $Id$ + #include "URL_Addr.h" +#include "ace/Log_Msg.h" ACE_RCSID(Web_Crawler, URL_Addr, "$Id$") @@ -58,8 +60,8 @@ ACE_URL_Addr::addr_to_string (int ipaddr_format) const if (size > this->addr_string_len_) { ACE_ALLOCATOR_RETURN (this_ptr->addr_string_, - (LPTSTR) ACE_OS::realloc ((void *) this->addr_string_, - size), + (ACE_TCHAR *) ACE_OS::realloc ((void *) this->addr_string_, + size), 0); this_ptr->addr_string_len_ = size; } @@ -123,7 +125,8 @@ ACE_URL_Addr::string_to_addr (const ACE_TCHAR *s) } ACE_URL_Addr::ACE_URL_Addr (const ACE_URL_Addr &addr) - : path_name_ (0), + : ACE_INET_Addr (), + path_name_ (0), addr_string_ (0), addr_string_len_ (0) { @@ -212,10 +215,10 @@ ACE_URL_Addr::get_path_name (void) const ACE_URL_Addr::~ACE_URL_Addr (void) { ACE_OS::free (ACE_reinterpret_cast (void *, - ACE_const_cast (LPTSTR, + ACE_const_cast (ACE_TCHAR *, this->path_name_))); ACE_OS::free (ACE_reinterpret_cast (void *, - ACE_const_cast (LPTSTR, + ACE_const_cast (ACE_TCHAR *, this->addr_string_))); this->path_name_ = 0; } |