~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/tests/IOR_MCast/client.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// client.cpp,v 1.3 2002/01/29 20:20:54 okellogg Exp
2
 
 
3
 
#include "ior_mcast_client_i.h"
4
 
 
5
 
int main (int argc, char *argv [])
6
 
{
7
 
 
8
 
  ACE_DECLARE_NEW_CORBA_ENV;
9
 
 
10
 
  ACE_TRY
11
 
    {
12
 
 
13
 
      ior_mcast_Client_i client;
14
 
 
15
 
      int init_result;
16
 
      init_result = client.init (argc, argv ACE_ENV_ARG_PARAMETER);
17
 
      ACE_TRY_CHECK;
18
 
 
19
 
      return 0;
20
 
    }
21
 
  ACE_CATCH (CORBA::SystemException, ex)
22
 
    {
23
 
      //
24
 
    }
25
 
  ACE_CATCHANY
26
 
    {
27
 
      ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "client");
28
 
    }
29
 
  ACE_ENDTRY;
30
 
  ACE_CHECK_RETURN (-1);
31
 
 
32
 
  return 0;
33
 
}