diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2008-02-25 22:22:44 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2008-02-25 22:22:44 +0000 |
commit | 232243528c04e34e36cb1c41a09069a2dc8a9462 (patch) | |
tree | 1675589f462f881e070b20e608740c4a4c399949 /TAO | |
parent | 5bcd667b8446969f6e12e4f70d3c3c74f0358d7c (diff) | |
download | ATCD-232243528c04e34e36cb1c41a09069a2dc8a9462.tar.gz |
Mon Feb 25 22:19:46 UTC 2008 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO')
36 files changed, 98 insertions, 43 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 34dae5b7131..c2113837244 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,48 @@ +Mon Feb 25 22:19:46 UTC 2008 Abdullah Sowayan <abdullah.sowayan@lmco.com> + + * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: + * orbsvcs/examples/CosEC/Factory/main.cpp: + * orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp: + * orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/Basic.cpp: + * orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Consumer.cpp: + * orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp: + * orbsvcs/examples/FaultTolerance/RolyPoly/client.cpp: + * orbsvcs/examples/FaultTolerance/RolyPoly/server.cpp: + * orbsvcs/examples/LoadBalancing/client.cpp: + * orbsvcs/examples/LoadBalancing/server.cpp: + * orbsvcs/examples/Notify/Filter/main.cpp: + * orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp: + * orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp: + * orbsvcs/examples/Notify/Subscribe/main.cpp: + * orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp: + * orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp: + * orbsvcs/examples/ORT/client.cpp: + * orbsvcs/examples/ORT/gateway_server.cpp: + * orbsvcs/examples/ORT/server.cpp: + * orbsvcs/examples/PSS/Simple_Naming.cpp: + * orbsvcs/examples/PSS/server.cpp: + * orbsvcs/examples/Security/SecurityLevel1/client.cpp: + * orbsvcs/examples/Security/SecurityLevel1/server.cpp: + * orbsvcs/examples/Security/Send_File/client.cpp: + * orbsvcs/examples/Security/Send_File/server.cpp: + * orbsvcs/tests/Notify/Destroy/main.cpp: + * orbsvcs/tests/Notify/Driver/main.cpp: + * orbsvcs/tests/RTCosScheduling/client.cpp: + + Use ACE_TMAIN instead of main as the program entry point to comply + with ACE/TAO/CIAO coding standards. + + * orbsvcs/examples/CosEC/RtEC_Based/bin/CosEC_RtEC_Based_bin.mpc: + * orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/CosEC_RtEC_Based_tests_Basic.mpc: + * orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/CosEC_RtEC_Based_Mult.mpc: + * orbsvcs/examples/FaultTolerance/RolyPoly/RolyPoly.mpc: + * orbsvcs/examples/LoadBalancing/LoadBalancing.mpc: + * orbsvcs/examples/ORT/ORT.mpc: + * orbsvcs/examples/Security/Send_File/Security_Send_File.mpc: + + MPC doesn't recognize ACE_TMAIN as an entry point, as such, we need + to explicitly set exename in the MPC file. + Mon Feb 25 20:14:37 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> * tests/ORB_Local_Config/run_tests_all.pl: diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp index 34a7b2c47a7..87b18edc6fa 100644 --- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp +++ b/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp @@ -291,7 +291,7 @@ FactoryClient::run_test (void) } int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { ACE_DEBUG ((LM_DEBUG, "The FactoryClient will test the Cos Event Channel Factory\n")); diff --git a/TAO/orbsvcs/examples/CosEC/Factory/main.cpp b/TAO/orbsvcs/examples/CosEC/Factory/main.cpp index 2ca49905292..0e342ef78dd 100644 --- a/TAO/orbsvcs/examples/CosEC/Factory/main.cpp +++ b/TAO/orbsvcs/examples/CosEC/Factory/main.cpp @@ -5,7 +5,7 @@ #include "orbsvcs/CosEvent/CEC_Default_Factory.h" int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { TAO_CEC_Default_Factory::init_svcs (); FactoryDriver driver; diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/CosEC_RtEC_Based_bin.mpc b/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/CosEC_RtEC_Based_bin.mpc index d74001a0687..695bb3c5de2 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/CosEC_RtEC_Based_bin.mpc +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/CosEC_RtEC_Based_bin.mpc @@ -2,8 +2,9 @@ // $Id$ project : orbsvcsexe, rtevent_serv, event_skel, naming { - after += CosEC_RtEC_Based_lib - libs += CosEC_RtEC_Based + after += CosEC_RtEC_Based_lib + exename = RtEC_Based_CosEC + libs += CosEC_RtEC_Based specific (automake) { includes += $(srcdir)/../lib diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp index fc4bd909e0e..456d1712db5 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/bin/RtEC_Based_CosEC.cpp @@ -239,7 +239,7 @@ RtEC_Based_CosEC::shutdown (void) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { TAO_EC_Default_Factory::init_svcs (); diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/Basic.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/Basic.cpp index 8598acf7d98..98c5602a60b 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/Basic.cpp +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/Basic.cpp @@ -5,7 +5,7 @@ #include "CosEvent_Utilities.h" int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { Basic basic; diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/CosEC_RtEC_Based_tests_Basic.mpc b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/CosEC_RtEC_Based_tests_Basic.mpc index d3d306ab424..76c9233f7b1 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/CosEC_RtEC_Based_tests_Basic.mpc +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Basic/CosEC_RtEC_Based_tests_Basic.mpc @@ -2,8 +2,9 @@ // $Id$ project(*Client) : orbsvcsexe, event, event_skel, rtevent_serv, rtsched { - after += CosEC_RtEC_Based_lib - libs += CosEC_RtEC_Based + after += CosEC_RtEC_Based_lib + exename = Basic + libs += CosEC_RtEC_Based specific (automake) { includes += $(srcdir)/../../lib diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Consumer.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Consumer.cpp index 099d0f4b492..009b5b33292 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Consumer.cpp +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Consumer.cpp @@ -147,7 +147,7 @@ Consumer::init_Consumer (void) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { Consumer cons; diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/CosEC_RtEC_Based_Mult.mpc b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/CosEC_RtEC_Based_Mult.mpc index c67b64d7ae6..26e13fb8f74 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/CosEC_RtEC_Based_Mult.mpc +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/CosEC_RtEC_Based_Mult.mpc @@ -2,8 +2,9 @@ // $Id$ project(*Cons) : orbsvcsexe, event, event_skel, rtevent, rtsched, rtevent_serv { - after += CosEC_RtEC_Based_lib - libs += CosEC_RtEC_Based + after += CosEC_RtEC_Based_lib + exename = Consumer + libs += CosEC_RtEC_Based libpaths += ../../lib specific (automake) { @@ -19,8 +20,9 @@ project(*Cons) : orbsvcsexe, event, event_skel, rtevent, rtsched, rtevent_serv { } project(*Supp) : orbsvcsexe, event, event_skel, rtevent, rtsched, rtevent_serv { - after += CosEC_RtEC_Based_lib *Cons - libs += CosEC_RtEC_Based + after += CosEC_RtEC_Based_lib *Cons + exename = Supplier + libs += CosEC_RtEC_Based libpaths += ../../lib source_files { diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp index d5c45142eeb..c192fe0ab28 100644 --- a/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp +++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/tests/Multiple/Supplier.cpp @@ -142,7 +142,7 @@ Supplier::run (void) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { Supplier supp; diff --git a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/RolyPoly.mpc b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/RolyPoly.mpc index 1373d0a3582..fbe3fb40a82 100644 --- a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/RolyPoly.mpc +++ b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/RolyPoly.mpc @@ -7,7 +7,8 @@ project(*idl): taoidldefaults { } project(*Server): orbsvcsexe, fault_tolerance, tmcast, pi_server, interceptors { - after += *idl + after += *idl + exename = server Source_Files { RolyPolyC.cpp RolyPolyS.cpp diff --git a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/client.cpp b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/client.cpp index 46c4224eea9..0d3404d8125 100644 --- a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/client.cpp +++ b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/client.cpp @@ -51,7 +51,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { int status = 0; diff --git a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/server.cpp b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/server.cpp index b5c1a01a4d9..33418c5a18b 100644 --- a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/server.cpp +++ b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/server.cpp @@ -40,7 +40,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/LoadBalancing/LoadBalancing.mpc b/TAO/orbsvcs/examples/LoadBalancing/LoadBalancing.mpc index ad432a5bcd8..adb5efc8778 100644 --- a/TAO/orbsvcs/examples/LoadBalancing/LoadBalancing.mpc +++ b/TAO/orbsvcs/examples/LoadBalancing/LoadBalancing.mpc @@ -8,6 +8,7 @@ project(*idl) : taoidldefaults, anytypecode { project(*Server): taoexe, loadbalancing, pi_server { avoids += ace_for_tao + exename = server after += *idl Source_Files { ServerRequestInterceptor.cpp diff --git a/TAO/orbsvcs/examples/LoadBalancing/client.cpp b/TAO/orbsvcs/examples/LoadBalancing/client.cpp index 0d8cb687349..c5270d9eb7d 100644 --- a/TAO/orbsvcs/examples/LoadBalancing/client.cpp +++ b/TAO/orbsvcs/examples/LoadBalancing/client.cpp @@ -49,7 +49,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/LoadBalancing/server.cpp b/TAO/orbsvcs/examples/LoadBalancing/server.cpp index ead0601c6b2..ef2f235e565 100644 --- a/TAO/orbsvcs/examples/LoadBalancing/server.cpp +++ b/TAO/orbsvcs/examples/LoadBalancing/server.cpp @@ -213,7 +213,7 @@ join_object_group (CORBA::ORB_ptr orb, } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Notify/Filter/main.cpp b/TAO/orbsvcs/examples/Notify/Filter/main.cpp index 5d095aa8faa..8d2ef0f19c7 100644 --- a/TAO/orbsvcs/examples/Notify/Filter/main.cpp +++ b/TAO/orbsvcs/examples/Notify/Filter/main.cpp @@ -4,7 +4,7 @@ #include "Filter.h" int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { FilterClient client; diff --git a/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp b/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp index 28130598964..c1b49f18963 100644 --- a/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp +++ b/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp @@ -190,7 +190,7 @@ TAO_Notify_Lanes_Consumer_Client::svc (void) } int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp b/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp index 9a57e1fc166..bb8bdd46479 100644 --- a/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp +++ b/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp @@ -196,7 +196,7 @@ TAO_Notify_Lanes_Supplier_Client::svc (void) } int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Notify/Subscribe/main.cpp b/TAO/orbsvcs/examples/Notify/Subscribe/main.cpp index 05c916eab0d..dbd64e04255 100644 --- a/TAO/orbsvcs/examples/Notify/Subscribe/main.cpp +++ b/TAO/orbsvcs/examples/Notify/Subscribe/main.cpp @@ -4,7 +4,7 @@ #include "Subscribe.h" int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { Subscribe client; diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp index cf6110f562b..9c0485e5420 100644 --- a/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp +++ b/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp @@ -34,7 +34,7 @@ TAO_Notify_ThreadPool_Consumer_Client::parse_args (int argc, char *argv[]) while (arg_shifter.is_anything_left ()) { - if (0 != (current_arg = + if (0 != (current_arg = arg_shifter.get_the_parameter(ACE_TEXT("-ProxySupplier_ThreadPool")))) // Specify a threadpool. { this->proxy_supplier_thread_count_ = ACE_OS::atoi (arg_shifter.get_current ()); @@ -194,7 +194,7 @@ TAO_Notify_ThreadPool_Consumer_Client::svc (void) } int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp index cb1e33f4549..3fe4cd65867 100644 --- a/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp +++ b/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp @@ -193,7 +193,7 @@ TAO_Notify_ThreadPool_Supplier_Client::svc (void) } int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/ORT/ORT.mpc b/TAO/orbsvcs/examples/ORT/ORT.mpc index 406b4148ddd..3845804c8bd 100644 --- a/TAO/orbsvcs/examples/ORT/ORT.mpc +++ b/TAO/orbsvcs/examples/ORT/ORT.mpc @@ -10,7 +10,8 @@ project(*idl): taoidldefaults, avoids_minimum_corba, avoids_corba_e_compact, avo } project(*Gateway) : orbsvcsexe, dynamicinterface, ifr_client, avoids_minimum_corba, avoids_corba_e_compact, avoids_corba_e_micro { - after += *idl + after += *idl + exename = gateway_server source_files { GatewayC.cpp @@ -42,7 +43,8 @@ project(*Server) : orbsvcsexe, dynamicinterface, ifr_client, avoids_minimum_corb } project(*Client) : orbsvcsexe, event, avoids_minimum_corba, avoids_corba_e_compact, avoids_corba_e_micro { - after += *idl + after += *idl + exename = client source_files { client.cpp sum_serverC.cpp diff --git a/TAO/orbsvcs/examples/ORT/client.cpp b/TAO/orbsvcs/examples/ORT/client.cpp index 49cb266aa2e..10b51b80cf2 100644 --- a/TAO/orbsvcs/examples/ORT/client.cpp +++ b/TAO/orbsvcs/examples/ORT/client.cpp @@ -33,7 +33,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/ORT/gateway_server.cpp b/TAO/orbsvcs/examples/ORT/gateway_server.cpp index 171295c1325..c66b934870c 100644 --- a/TAO/orbsvcs/examples/ORT/gateway_server.cpp +++ b/TAO/orbsvcs/examples/ORT/gateway_server.cpp @@ -34,7 +34,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/ORT/server.cpp b/TAO/orbsvcs/examples/ORT/server.cpp index 3980941b2f5..81562f810eb 100644 --- a/TAO/orbsvcs/examples/ORT/server.cpp +++ b/TAO/orbsvcs/examples/ORT/server.cpp @@ -35,7 +35,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/PSS/Simple_Naming.cpp b/TAO/orbsvcs/examples/PSS/Simple_Naming.cpp index 67fc0001a77..5feb2e0864e 100644 --- a/TAO/orbsvcs/examples/PSS/Simple_Naming.cpp +++ b/TAO/orbsvcs/examples/PSS/Simple_Naming.cpp @@ -52,7 +52,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/PSS/server.cpp b/TAO/orbsvcs/examples/PSS/server.cpp index 4a1e4e042d3..03afbd321e7 100644 --- a/TAO/orbsvcs/examples/PSS/server.cpp +++ b/TAO/orbsvcs/examples/PSS/server.cpp @@ -25,7 +25,7 @@ ACE_RCSID (PSS, client, "$Id$") int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp b/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp index 19d79e4835d..5495a61ac75 100644 --- a/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp +++ b/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp @@ -32,7 +32,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv []) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Security/SecurityLevel1/server.cpp b/TAO/orbsvcs/examples/Security/SecurityLevel1/server.cpp index 3ea44aa5a0d..9ec911dde06 100644 --- a/TAO/orbsvcs/examples/Security/SecurityLevel1/server.cpp +++ b/TAO/orbsvcs/examples/Security/SecurityLevel1/server.cpp @@ -9,7 +9,7 @@ ACE_RCSID (SecurityLevel1, const char *ior_output_file = 0; int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Security/Send_File/Security_Send_File.mpc b/TAO/orbsvcs/examples/Security/Send_File/Security_Send_File.mpc index 2dd91e44fd5..2d368b64b38 100644 --- a/TAO/orbsvcs/examples/Security/Send_File/Security_Send_File.mpc +++ b/TAO/orbsvcs/examples/Security/Send_File/Security_Send_File.mpc @@ -9,7 +9,8 @@ project(*Idl) : taoidldefaults { } project(*Client) : orbsvcsexe, portableserver { - after += *Idl + after += *Idl + exename = client source_files { testC.cpp client.cpp @@ -19,7 +20,8 @@ project(*Client) : orbsvcsexe, portableserver { } project(*Server) : orbsvcsexe, portableserver { - after += *Idl + after += *Idl + exename = server source_files { testC.cpp testS.cpp diff --git a/TAO/orbsvcs/examples/Security/Send_File/client.cpp b/TAO/orbsvcs/examples/Security/Send_File/client.cpp index 46172b69b35..210b9c047bd 100644 --- a/TAO/orbsvcs/examples/Security/Send_File/client.cpp +++ b/TAO/orbsvcs/examples/Security/Send_File/client.cpp @@ -34,7 +34,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/examples/Security/Send_File/server.cpp b/TAO/orbsvcs/examples/Security/Send_File/server.cpp index a8566f23ccf..22b1255a621 100644 --- a/TAO/orbsvcs/examples/Security/Send_File/server.cpp +++ b/TAO/orbsvcs/examples/Security/Send_File/server.cpp @@ -35,7 +35,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp index ba8579a41f5..09239cbb0b7 100644 --- a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp +++ b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp @@ -5,7 +5,7 @@ #include "ace/OS_main.h" int -ACE_TMAIN (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { diff --git a/TAO/orbsvcs/tests/Notify/Driver/main.cpp b/TAO/orbsvcs/tests/Notify/Driver/main.cpp index 9d3492323f9..ccdaceaccb2 100644 --- a/TAO/orbsvcs/tests/Notify/Driver/main.cpp +++ b/TAO/orbsvcs/tests/Notify/Driver/main.cpp @@ -4,7 +4,7 @@ #include "ace/OS_main.h" int -ACE_TMAIN (int argc, char *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { TAO_Notify_Tests_Driver driver; diff --git a/TAO/orbsvcs/tests/RTCosScheduling/client.cpp b/TAO/orbsvcs/tests/RTCosScheduling/client.cpp index 168fe9d4b62..af79db536e1 100644 --- a/TAO/orbsvcs/tests/RTCosScheduling/client.cpp +++ b/TAO/orbsvcs/tests/RTCosScheduling/client.cpp @@ -151,7 +151,7 @@ int svc(void) { return 1; } - if (ACE_OS::strcmp(activity_,"Client2") == 0 || + if (ACE_OS::strcmp(activity_,"Client2") == 0 || ACE_OS::strcmp(activity_,"Client3") == 0) { ACE_OS::sleep(1); @@ -356,7 +356,7 @@ private: int -ACE_TMAIN (int argc, char * argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { try { |