Summary: | Allow #includes in the middle of a module or interface declaration | ||
---|---|---|---|
Product: | TAO | Reporter: | Carlos O'Ryan <coryan> |
Component: | IDL Compiler | Assignee: | DOC Center Support List (internal) <tao-support> |
Status: | ASSIGNED --- | ||
Severity: | enhancement | ||
Priority: | P5 | ||
Version: | 0.4.2 | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 129 |
Description
Carlos O'Ryan
1999-07-21 21:45:01 CDT
The enhacements request is accepted, but there is no rush to implement it. Another IDL compiler bustage, Jeff comes to the rescue. I accept. To do this, we will have to add an option to generate code for included IDL files, because, in the first example below, the included IDL files will not compile on their own. The following example will be an easier, and perhaps first attempt, use case. It is included here to save the example for testing when this bug is addressed. These were sent in by Richard Reitmeyer <richard@hades.verecomm.com> #ifndef HUSBAND_IDL #define HUSBAND_IDL module TheModule { interface Husband; }; #include "d:\jeff\ACE_wrappers\TAO\tests\Bench\local\b.idl" module TheModule { interface Husband { Wife get_wife(); }; }; #endif #ifndef WIFE_IDL #define WIFE_IDL module TheModule { interface Wife; }; #include "d:\jeff\ACE_wrappers\TAO\tests\Bench\local\a.idl" module TheModule { interface Wife { Husband get_husband(); }; }; #endif |