From d626f33e77054b47153536590e6cb4addbc270ca Mon Sep 17 00:00:00 2001 From: parsons Date: Wed, 10 Nov 2004 17:31:11 +0000 Subject: ChangeLogTag: Wed Nov 10 11:25:28 2004 Jeff Parsons --- TAO/ChangeLog | 14 ++++++++++++++ TAO/TAO_IDL/be/be_codegen.cpp | 5 +++++ 2 files changed, 19 insertions(+) diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 00302bdff03..e1117a0e7a1 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,17 @@ +Wed Nov 10 11:25:28 2004 Jeff Parsons + + * TAO_IDL/be/be_codegen.cpp: + + Added generation of #includes of Any.h and CDR.h in the + *A.cpp file (if generated). This is for compilers (such + as the Diablo VxWorks compiler) that do not include + template source files in the corresponding template header + files. In such a case, the files in question are not pulled + in by Any_*_Impl_T.cpp via Any_*_Impl_T.h, as they are + in all other cases. Thanks to + Johnny Willemsen and Martin Corino + for reporting these problems. + Wed Nov 10 09:46:46 2004 Jeff Parsons * TAO_IDL/ast/ast_union.cpp: diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp index 4c62bb89837..61a61e5c63a 100644 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ b/TAO/TAO_IDL/be/be_codegen.cpp @@ -1709,6 +1709,11 @@ TAO_CodeGen::gen_any_file_includes (void) if (be_global->gen_anyop_files ()) { stream = this->anyop_source_; + + this->gen_standard_include (stream, + "tao/CDR.h"); + this->gen_standard_include (stream, + "tao/Any.h"); } this->gen_cond_file_include ( -- cgit v1.2.1