diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-13 23:23:35 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-13 23:23:35 +0000 |
commit | aa0d46142ef158230957b662cf6f0cc48810482c (patch) | |
tree | 83e3eb5b98ef649a9086c090c158f5795d862725 | |
parent | ca4e5e6aeb63faa519fccefb99b0946a7ea8b448 (diff) | |
download | ATCD-aa0d46142ef158230957b662cf6f0cc48810482c.tar.gz |
ChangeLogTag: Mon Oct 13 18:22:04 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog_ref | 8 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_codegen.cpp | 11 |
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_)) { |