From bd45b1bb4b46ac6adaf827ee654582be593bbe40 Mon Sep 17 00:00:00 2001 From: parsons Date: Mon, 1 Sep 2003 14:38:46 +0000 Subject: ChangeLogTag: Mon Sep 1 09:34:44 2003 Jeff Parsons --- TAO/ChangeLog_ref | 11 +++++++++++ TAO/TAO_IDL/be/be_codegen.cpp | 16 ++++++++-------- TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp | 7 +------ 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/TAO/ChangeLog_ref b/TAO/ChangeLog_ref index c7fa3d0d8e4..634adcdc2e1 100644 --- a/TAO/ChangeLog_ref +++ b/TAO/ChangeLog_ref @@ -1,3 +1,14 @@ +Mon Sep 1 09:34:44 2003 Jeff Parsons + + * TAO_IDL/be/be_codegen.cpp: + + Moved generation of the Object_T.h include to the source + file from the header file. + + * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: + + Added _NOT_USED to the environment variable signature of _is_a. + Mon Sep 1 08:44:06 2003 Jeff Parsons * TAO_IDL/be/be_codegen.cpp: diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp index 4c93c55bd74..b491325fb1a 100644 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ b/TAO/TAO_IDL/be/be_codegen.cpp @@ -1337,14 +1337,6 @@ TAO_CodeGen::gen_stub_hdr_includes (void) "tao/SmartProxies/Smart_Proxies.h"); } - if (ACE_BIT_ENABLED (idl_global->decls_seen_info_, - idl_global->decls_seen_masks.interface_seen_)) - { - // Include the AbstractBase file from the Valuetype library. - this->gen_standard_include (this->client_header_, - "tao/Object_T.h"); - } - if (ACE_BIT_ENABLED (idl_global->decls_seen_info_, idl_global->decls_seen_masks.abstract_iface_seen_)) { @@ -1411,6 +1403,14 @@ TAO_CodeGen::gen_stub_src_includes (void) } } + if (ACE_BIT_ENABLED (idl_global->decls_seen_info_, + idl_global->decls_seen_masks.interface_seen_)) + { + // Include the AbstractBase file from the Valuetype library. + this->gen_standard_include (this->client_stubs_, + "tao/Object_T.h"); + } + if (be_global->gen_amh_classes () == I_TRUE) { // Necessary for the AIX compiler. diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp index 522e3e85579..41e91844a12 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp @@ -371,12 +371,7 @@ be_visitor_interface_cs::visit_interface (be_interface *node) *os << "CORBA::Boolean" << be_nl << node->full_name () << "::_is_a (" << be_idt << be_idt_nl << "const char *value" << be_nl - << "ACE_ENV_ARG_DECL"; - - if (node->is_abstract ()) - { - *os << "_NOT_USED"; - } + << "ACE_ENV_ARG_DECL_NOT_USED"; *os << be_uidt_nl << ")" << be_uidt_nl << "{" << be_idt_nl -- cgit v1.2.1