diff options
Diffstat (limited to 'TAO/TAO_IDL/driver/drv_args.cpp')
-rw-r--r-- | TAO/TAO_IDL/driver/drv_args.cpp | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/TAO/TAO_IDL/driver/drv_args.cpp b/TAO/TAO_IDL/driver/drv_args.cpp index 9f09ca74382..5b90f5d2adf 100644 --- a/TAO/TAO_IDL/driver/drv_args.cpp +++ b/TAO/TAO_IDL/driver/drv_args.cpp @@ -123,9 +123,6 @@ DRV_usage (void) cerr << GTDEVEL (" -Gi\t\t\tenable Interpretive marshaling (default)\n"); cerr << GTDEVEL (" -Ge\t\t\tenable C++ Exception support (suppressed by default)\n"); cerr << GTDEVEL (" -Gt\t\t\tenable optimized TypeCode support (unopt by default)\n"); -#ifdef IDL_HAS_VALUETYPE - cerr << GTDEVEL (" -Gv\t\t\tenable OBV (Valuetype) support (disabled by default)\n"); -#endif /* IDL_HAS_VALUETYPE */ cerr << GTDEVEL (" -GI[h|s|b|e|c]\tGenerate Implemenation Files \n"); cerr << GTDEVEL (" \t\t\th - Implementation header file name ending. Default is I.h \n"); cerr << GTDEVEL (" \t\t\ts - Implementation skeleton file name ending. Default is I.cpp\n"); @@ -149,9 +146,6 @@ DRV_usage (void) cerr << GTDEVEL (" -sT\t\t\tServer's template skeleton file name ending. Default is S_T.cpp\n"); cerr << GTDEVEL (" -Sa\t\t\tsuppress Any support (support enabled by default)\n"); cerr << GTDEVEL (" -St\t\t\tsuppress TypeCode support (support enabled by default)\n"); -#ifdef IDL_HAS_VALUETYPE - cerr << GTDEVEL (" -Sv\t\t\tdisable OBV (Valuetype) support (disabled by default)\n"); -#endif /* IDL_HAS_VALUETYPE */ cerr << GTDEVEL (" -t\t\t\tTemporary directory to be used by the IDL compiler." "(default is value of environment variable ACE_DEFAULT_TEMP_DIR_ENV)\n"); cerr << GTDEVEL (" -u\t\t\tprints usage message and exits\n"); @@ -284,7 +278,7 @@ DRV_parse_args (long ac, char **av) // I expect 's' or 'i' after 'c'. cerr << GTDEVEL("Incomplete Flag : ") << av[i]; - ACE_OS::exit (99); + exit(99); } break; @@ -536,16 +530,9 @@ DRV_parse_args (long ac, char **av) } else if (av[i][2] == 't') { - // suppress typecode support + // supress typecode support idl_global->tc_support (0); } - else if (av[i][2] == 'v') - { - // disable OBV (Valuetype) support -# ifdef IDL_HAS_VALUETYPE - idl_global->obv_support (0); -# endif - } else { cerr << GTDEVEL("IDL: missing argument after '") @@ -572,22 +559,13 @@ DRV_parse_args (long ac, char **av) // exception support idl_global->exception_support (1); } - else if (av[i][2] == 't') + else if (av[i][2] == 'o') { // optimized typecode support idl_global->opt_tc (1); } - else if (av[i][2] == 'v') - { -# ifdef IDL_HAS_VALUETYPE - // enable OBV (Valuetype) support - idl_global->obv_support (1); -# else /* IDL_HAS_VALUETYPE */ - cerr << GTDEVEL("IDL: -Gv (Valuetype) not compiled in\n"); - ACE_OS::exit (99); -# endif /* IDL_HAS_VALUETYPE */ - } else if (av[i][2] == 'I') + { int options = ACE_OS::strlen(av[i]) - 3; int j; |