summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLog_ref8
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp11
2 files changed, 19 insertions, 0 deletions
diff --git a/TAO/ChangeLog_ref b/TAO/ChangeLog_ref
index 97adf23ab2c..68c8dd3dcb2 100644
--- a/TAO/ChangeLog_ref
+++ b/TAO/ChangeLog_ref
@@ -1,3 +1,11 @@
+Mon Oct 13 18:22:04 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * TAO_IDL/be/be_codegen.cpp:
+
+ Added #include of ValueFactory.h to stub source file, if
+ a valuetype has been seen and this file has not already
+ been included in the stub header file.
+
Mon Oct 13 18:20:45 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
* examples/TAO_Examples.dsw
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp
index 20a2091ff74..c2396858b7b 100644
--- a/TAO/TAO_IDL/be/be_codegen.cpp
+++ b/TAO/TAO_IDL/be/be_codegen.cpp
@@ -1427,6 +1427,17 @@ TAO_CodeGen::gen_stub_src_includes (void)
}
}
+ // If valuefactory_seen_ was set, this was generated in the stub header file,
+ // otherwise it needs to go here - used in _tao_unmarshal().
+ if (ACE_BIT_ENABLED (idl_global->decls_seen_info_,
+ idl_global->decls_seen_masks.valuetype_seen_)
+ && !ACE_BIT_ENABLED (idl_global->decls_seen_info_,
+ idl_global->decls_seen_masks.valuefactory_seen_))
+ {
+ this->gen_standard_include (this->client_stubs_,
+ "tao/Valuetype/ValueFactory.h");
+ }
+
if (ACE_BIT_ENABLED (idl_global->decls_seen_info_,
idl_global->decls_seen_masks.non_local_iface_seen_))
{