From e4aafdd35ea3056572652d87785829be2ecc7246 Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Wed, 5 May 2004 19:01:32 +0000 Subject: ChangeLogTag:Wed May 5 14:52:21 2004 Steve Huston --- ChangeLog | 29 ++++++++++++++++++++++ apps/soreduce/Library.cpp | 6 +++-- apps/soreduce/Obj_Module.cpp | 8 +++--- apps/soreduce/Obj_Module.h | 2 ++ apps/soreduce/SO_Group.cpp | 7 +++++- apps/soreduce/Sig_List.cpp | 2 +- examples/Connection/blocking/SPIPE-acceptor.cpp | 1 + examples/Connection/blocking/SPIPE-connector.cpp | 1 + examples/Misc/test_XtReactor1.cpp | 1 + examples/Misc/test_XtReactor2.cpp | 1 + examples/OS/Process/imore.cpp | 1 + examples/OS/Process/process.cpp | 7 +++++- examples/Reactor/Proactor/post_completions.cpp | 1 + examples/Reactor/Proactor/test_end_event_loop.cpp | 1 + examples/Reactor/Proactor/test_proactor.cpp | 1 + examples/Reactor/Proactor/test_timeout.cpp | 1 + examples/Reactor/Proactor/test_udp_proactor.cpp | 1 + .../Service_Configurator/Misc/Timer_Service.cpp | 1 + examples/Threads/cancel.cpp | 1 + examples/Web_Crawler/Command_Processor.cpp | 1 + examples/Web_Crawler/HTTP_URL.cpp | 2 ++ examples/Web_Crawler/Options.cpp | 1 + examples/Web_Crawler/Options.h | 1 + examples/Web_Crawler/URL_Visitor.cpp | 1 + .../Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp | 1 + 25 files changed, 72 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index aad06f48899..2975da7948d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,32 @@ +Wed May 5 14:52:21 2004 Steve Huston + + * apps/soreduce/Library.cpp: + * apps/soreduce/Obj_Module.cpp: + * apps/soreduce/Sig_List.cpp: + * apps/soreduce/SO_Group.cpp: + * examples/Connection/blocking/SPIPE-acceptor.cpp: + * examples/Connection/blocking/SPIPE-connector.cpp: + * examples/OS/Process/process.cpp: + * examples/Reactor/Proactor/test_end_event_loop.cpp: + * examples/Reactor/Proactor/post_completions.cpp: + * examples/Reactor/Proactor/test_proactor.cpp: + * examples/Reactor/Proactor/test_timeout.cpp: + * examples/Reactor/Proactor/test_udp_proactor.cpp: + * examples/Service_Configurator/Misc/Timer_Service.cpp: + * examples/Threads/cancel.cpp: + * examples/Web_Crawler/Command_Processor.cpp: + * examples/Web_Crawler/HTTP_URL.cpp: + * examples/Web_Crawler/Options.{h cpp}: + * examples/Web_Crawler/URL_Visitor.cpp: Added #includes for various + "ace/OS_NS_*.h" files to let Visual Age C++ see missing methods. + + * apps/soreduce/Obj_Module.h: Added forward declaration for + ACE_Message_Block. + + * examples/Misc/test_XtReactor1.cpp: + * examples/Misc/test_XtReactor2.cpp: + * examples/OS/Process/imore.cpp: Added #include "ace/Log_Msg.h". + Wed May 5 09:18:00 2004 Justin Michel * ace/OS_NS_unistd.inl: diff --git a/apps/soreduce/Library.cpp b/apps/soreduce/Library.cpp index 71180e786ec..b56579092c4 100644 --- a/apps/soreduce/Library.cpp +++ b/apps/soreduce/Library.cpp @@ -10,10 +10,12 @@ // outputting usage metrics for the various object modules contained in the // library. - #include "ace/OS_NS_dirent.h" -#include "ace/Log_Msg.h" +#include "ace/OS_NS_stdlib.h" +#include "ace/OS_NS_string.h" +#include "ace/OS_NS_unistd.h" #include "ace/OS_NS_sys_stat.h" +#include "ace/Log_Msg.h" #include "Library.h" diff --git a/apps/soreduce/Obj_Module.cpp b/apps/soreduce/Obj_Module.cpp index eb5e61d50f7..9b4986de90d 100644 --- a/apps/soreduce/Obj_Module.cpp +++ b/apps/soreduce/Obj_Module.cpp @@ -8,9 +8,11 @@ // This file contains the implementation of the classes responsible for // managing the contents of a single object module (.o file). -#include -#include -#include +#include "ace/OS_NS_string.h" +#include "ace/OS_NS_unistd.h" +#include "ace/Process.h" +#include "ace/Pipe.h" +#include "ace/Message_Block.h" #include "ace/Log_Msg.h" #include "Obj_Module.h" diff --git a/apps/soreduce/Obj_Module.h b/apps/soreduce/Obj_Module.h index 878d72e18cc..1f74031a719 100644 --- a/apps/soreduce/Obj_Module.h +++ b/apps/soreduce/Obj_Module.h @@ -22,6 +22,8 @@ #include "Sig_List.h" +class ACE_Message_Block; + class Obj_Module { public: Obj_Module ( const ACE_CString &, int = 500); diff --git a/apps/soreduce/SO_Group.cpp b/apps/soreduce/SO_Group.cpp index 1e4a20a7a62..895a03f0717 100644 --- a/apps/soreduce/SO_Group.cpp +++ b/apps/soreduce/SO_Group.cpp @@ -1,6 +1,11 @@ +// -*- C++ -*- +// $Id$ -#include "ace/Log_Msg.h" +// File: SO_Group.cpp +#include "ace/OS_NS_string.h" +#include "ace/OS_NS_unistd.h" +#include "ace/Log_Msg.h" #include "ace/Process.h" #include "ace/Pipe.h" diff --git a/apps/soreduce/Sig_List.cpp b/apps/soreduce/Sig_List.cpp index 4327a14bdc4..2f385790aff 100644 --- a/apps/soreduce/Sig_List.cpp +++ b/apps/soreduce/Sig_List.cpp @@ -1,10 +1,10 @@ - // $Id$ // File: Sig_List.cpp // Author: Phil Mesnier +#include "ace/OS_NS_string.h" #include "Sig_List.h" ACE_RCSID(src, Sig_List, "$Id$") diff --git a/examples/Connection/blocking/SPIPE-acceptor.cpp b/examples/Connection/blocking/SPIPE-acceptor.cpp index bfa785e0086..48386d40073 100644 --- a/examples/Connection/blocking/SPIPE-acceptor.cpp +++ b/examples/Connection/blocking/SPIPE-acceptor.cpp @@ -3,6 +3,7 @@ #if !defined (SPIPE_ACCEPTOR_C) #define SPIPE_ACCEPTOR_C +#include "ace/OS_NS_string.h" #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Acceptor.h" #include "ace/Proactor.h" diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp index 5f14bcd1c96..02b884d360a 100644 --- a/examples/Connection/blocking/SPIPE-connector.cpp +++ b/examples/Connection/blocking/SPIPE-connector.cpp @@ -4,6 +4,7 @@ #define SPIPE_CONNECTOR_C +#include "ace/OS_NS_string.h" #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Connector.h" #include "ace/Proactor.h" diff --git a/examples/Misc/test_XtReactor1.cpp b/examples/Misc/test_XtReactor1.cpp index 27fb9d4b02d..6d72c37b592 100644 --- a/examples/Misc/test_XtReactor1.cpp +++ b/examples/Misc/test_XtReactor1.cpp @@ -7,6 +7,7 @@ #include "ace/XtReactor.h" #include "ace/Reactor.h" #include "ace/Message_Block.h" +#include "ace/Log_Msg.h" ACE_RCSID(Misc, test_XtReactor1, "$Id$") diff --git a/examples/Misc/test_XtReactor2.cpp b/examples/Misc/test_XtReactor2.cpp index ea9b5895e65..a82c41b0079 100644 --- a/examples/Misc/test_XtReactor2.cpp +++ b/examples/Misc/test_XtReactor2.cpp @@ -7,6 +7,7 @@ #include "ace/XtReactor.h" #include "ace/Reactor.h" #include "ace/Message_Block.h" +#include "ace/Log_Msg.h" ACE_RCSID(Misc, test_XtReactor2, "$Id$") diff --git a/examples/OS/Process/imore.cpp b/examples/OS/Process/imore.cpp index 7454bc198b3..f050c22b189 100644 --- a/examples/OS/Process/imore.cpp +++ b/examples/OS/Process/imore.cpp @@ -28,6 +28,7 @@ #include "ace/FIFO_Send.h" #include "ace/Pipe.h" #include "ace/Get_Opt.h" +#include "ace/Log_Msg.h" #include "ace/Process.h" #include "ace/Signal.h" diff --git a/examples/OS/Process/process.cpp b/examples/OS/Process/process.cpp index 8021568c2e6..1fb70ced486 100644 --- a/examples/OS/Process/process.cpp +++ b/examples/OS/Process/process.cpp @@ -18,10 +18,15 @@ // ============================================================================ #include "ace/OS_NS_errno.h" +#include "ace/OS_NS_fcntl.h" +#include "ace/OS_NS_stdlib.h" +#include "ace/OS_NS_stdio.h" +#include "ace/OS_NS_string.h" +#include "ace/OS_NS_unistd.h" #include "ace/Get_Opt.h" #include "ace/Process.h" #include "ace/Log_Msg.h" -#include "ace/OS_NS_stdio.h" +#include "ace/Time_Value.h" ACE_RCSID(Process, process, "$Id$") diff --git a/examples/Reactor/Proactor/post_completions.cpp b/examples/Reactor/Proactor/post_completions.cpp index c295788cf90..510d29ee164 100644 --- a/examples/Reactor/Proactor/post_completions.cpp +++ b/examples/Reactor/Proactor/post_completions.cpp @@ -31,6 +31,7 @@ // // ===================================================================== +#include "ace/OS_NS_unistd.h" #include "ace/OS_main.h" #include "ace/Proactor.h" #include "ace/Task.h" diff --git a/examples/Reactor/Proactor/test_end_event_loop.cpp b/examples/Reactor/Proactor/test_end_event_loop.cpp index 46b70d30dc2..700ece27072 100644 --- a/examples/Reactor/Proactor/test_end_event_loop.cpp +++ b/examples/Reactor/Proactor/test_end_event_loop.cpp @@ -24,6 +24,7 @@ // // ===================================================================== +#include "ace/OS_NS_unistd.h" #include "ace/Proactor.h" #include "ace/Task.h" #include "ace/WIN32_Proactor.h" diff --git a/examples/Reactor/Proactor/test_proactor.cpp b/examples/Reactor/Proactor/test_proactor.cpp index 70380168875..84348aa0ebf 100644 --- a/examples/Reactor/Proactor/test_proactor.cpp +++ b/examples/Reactor/Proactor/test_proactor.cpp @@ -18,6 +18,7 @@ // // ============================================================================ +#include "ace/OS_NS_string.h" #include "ace/OS_main.h" #include "ace/Service_Config.h" #include "ace/Proactor.h" diff --git a/examples/Reactor/Proactor/test_timeout.cpp b/examples/Reactor/Proactor/test_timeout.cpp index c150d0f9240..3b397c8508e 100644 --- a/examples/Reactor/Proactor/test_timeout.cpp +++ b/examples/Reactor/Proactor/test_timeout.cpp @@ -24,6 +24,7 @@ #include "ace/Proactor.h" #include "ace/Task.h" #include "ace/Atomic_Op.h" +#include "ace/OS_NS_sys_time.h" #include "ace/OS_NS_unistd.h" #include "ace/OS_main.h" diff --git a/examples/Reactor/Proactor/test_udp_proactor.cpp b/examples/Reactor/Proactor/test_udp_proactor.cpp index 8ce6e8ac481..71d89b96dca 100644 --- a/examples/Reactor/Proactor/test_udp_proactor.cpp +++ b/examples/Reactor/Proactor/test_udp_proactor.cpp @@ -19,6 +19,7 @@ // // ============================================================================ +#include "ace/OS_NS_string.h" #include "ace/OS_main.h" #include "ace/Proactor.h" #include "ace/Asynch_IO.h" diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp index 801906f27d7..c69b448aebc 100644 --- a/examples/Service_Configurator/Misc/Timer_Service.cpp +++ b/examples/Service_Configurator/Misc/Timer_Service.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "ace/OS_NS_string.h" #include "Timer_Service.h" #include "ace/Log_Msg.h" diff --git a/examples/Threads/cancel.cpp b/examples/Threads/cancel.cpp index 4d2b741839a..4f3cabb73a9 100644 --- a/examples/Threads/cancel.cpp +++ b/examples/Threads/cancel.cpp @@ -3,6 +3,7 @@ // Test out the cooperative thread cancellation mechanisms provided by // the ACE_Thread_Manager. +#include "ace/OS_NS_unistd.h" #include "ace/OS_main.h" #include "ace/Service_Config.h" #include "ace/Thread_Manager.h" diff --git a/examples/Web_Crawler/Command_Processor.cpp b/examples/Web_Crawler/Command_Processor.cpp index 95b78b77a33..3cc04c3d9ab 100644 --- a/examples/Web_Crawler/Command_Processor.cpp +++ b/examples/Web_Crawler/Command_Processor.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "ace/OS_NS_string.h" #include "URL.h" #include "HTTP_URL.h" #include "Options.h" diff --git a/examples/Web_Crawler/HTTP_URL.cpp b/examples/Web_Crawler/HTTP_URL.cpp index 514b4f7acfe..2310080001e 100644 --- a/examples/Web_Crawler/HTTP_URL.cpp +++ b/examples/Web_Crawler/HTTP_URL.cpp @@ -1,5 +1,7 @@ // $Id$ +#include "ace/OS_NS_stdio.h" +#include "ace/OS_NS_string.h" #include "ace/Auto_Ptr.h" #include "URL_Visitor.h" #include "Options.h" diff --git a/examples/Web_Crawler/Options.cpp b/examples/Web_Crawler/Options.cpp index c4e96acb77d..e024d12a75c 100644 --- a/examples/Web_Crawler/Options.cpp +++ b/examples/Web_Crawler/Options.cpp @@ -1,6 +1,7 @@ // $Id$ #include "ace/Get_Opt.h" +#include "ace/Log_Msg.h" #include "URL_Addr.h" #include "Options.h" #include "ace/OS_NS_string.h" diff --git a/examples/Web_Crawler/Options.h b/examples/Web_Crawler/Options.h index e7cdbb336bf..18a0b8d7680 100644 --- a/examples/Web_Crawler/Options.h +++ b/examples/Web_Crawler/Options.h @@ -17,6 +17,7 @@ #ifndef _OPTIONS_H #define _OPTIONS_H +#include "ace/Null_Mutex.h" #include "ace/Singleton.h" #include "ace/Time_Value.h" diff --git a/examples/Web_Crawler/URL_Visitor.cpp b/examples/Web_Crawler/URL_Visitor.cpp index 23bf2a6c53b..81d240b8940 100644 --- a/examples/Web_Crawler/URL_Visitor.cpp +++ b/examples/Web_Crawler/URL_Visitor.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "ace/OS_NS_string.h" #include "URL_Visitor.h" #include "Command_Processor.h" diff --git a/performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp b/performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp index 775732978f1..720e5fb8b29 100644 --- a/performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp +++ b/performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp @@ -4,6 +4,7 @@ #define SYNCHLIB_BUILD_DLL #endif /* SYNCHLIB_BUILD_DLL */ +#include "ace/Log_Msg.h" #include "Benchmark_Base.h" ACE_RCSID(Synch_Benchmarks, Benchmark_Base, "$Id$") -- cgit v1.2.1