[Ace-users] [tao-users] TAO_IDL compiler + is this a bug?
Sowayan, Abdullah (N-DUA)
abdullah.sowayan at lmco.com
Fri Jan 18 09:00:53 CST 2008
TAO Version: 1.6.2
I have a very simple IDL file, which is attached. We wanted to suppress
generation of inline files, so we use the following command to generate
tao_idl -Sci -Ssi Foo.idl
Should the generated code be something that one can compile and link
against? If not, I wonder what the purpose of having an option that
would generate code that someone can not use.
Below is the code that would be generated in the FooC.inl file had I not
suppressed inline code generation:
: ::CORBA::Object (objref, _tao_collocated, servant, oc),
: ::CORBA::Object (ior, oc),
When I do a diff between FooC.cpp the version that had inlining
suppressed and the version that didn't you'll see the following
#if !defined (__ACE_INLINE__)
#endif /* !defined INLINE */
When I do a diff between FooC.h the version that had inlining suppressed
and the version that didn't you'll see the following difference:
#if defined (__ACE_INLINE__)
#endif /* defined INLINE */
So, when we suppress generation of inlined file, shouldn't the code in
the inlined files be placed in the cpp files?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 100 bytes
Url : http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20080118/95b6a49c/attachment.obj
More information about the Ace-users