summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/tao_idl.cpp
diff options
context:
space:
mode:
authorsma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-10 14:18:42 +0000
committersma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-10 14:18:42 +0000
commit21380423fcba0e01d2cc57fbda43a8c76ec1edbb (patch)
tree33e9cb6bf02af021ab2379fba2f044e177417325 /TAO/TAO_IDL/tao_idl.cpp
parent89873c57326081cedab1ee3062d55792b28942d9 (diff)
downloadATCD-21380423fcba0e01d2cc57fbda43a8c76ec1edbb.tar.gz
ChangeLogTag: Tue Jun 10 14:16:00 UTC 2008 Simon Massey <sma at prismtech dot com>
Diffstat (limited to 'TAO/TAO_IDL/tao_idl.cpp')
-rw-r--r--TAO/TAO_IDL/tao_idl.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/tao_idl.cpp b/TAO/TAO_IDL/tao_idl.cpp
index 416eb9760f9..fa762b565dc 100644
--- a/TAO/TAO_IDL/tao_idl.cpp
+++ b/TAO/TAO_IDL/tao_idl.cpp
@@ -74,6 +74,7 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
#include "utl_identifier.h"
#include "drv_extern.h"
#include "tao/Version.h"
+#include "ace/Argv_Type_Converter.h"
#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
// FUZZ: disable check_for_streams_include
@@ -300,17 +301,18 @@ DRV_drive (const char *s)
*/
int
-ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter atc (argc, argv);
try
{
- if (0 != DRV_init (argc, argv))
+ if (0 != DRV_init (atc.get_argc (), atc.get_ASCII_argv ()))
{
throw Bailout ();
}
// Parse arguments.
- DRV_parse_args (argc, argv);
+ DRV_parse_args (atc.get_argc (), atc.get_ASCII_argv ());
// If a version message is requested, print it and exit cleanly.
if (idl_global->compile_flags () & IDL_CF_VERSION)