[omniORB] Error including other idls

Bruce Visscher visschb@rjrt.com
Tue, 27 Mar 2001 15:17:48 -0500


Mark,

I believe you should include header guards yourself in situations like
this.  I.e., something like this:

> test1.idl:

#ifndef test1_idl
#define test1_idl

> module test1
> {
>         interface echo1
>         {
>                 string echo1 ();
>         };
> };

#endif

> 
> test2.idl

#ifndef test2_idl
#define test2_idl

> #include "test1.idl"
> module test2
> {
>         interface echo2
>         {
>                 string echo2 ();
>         };
> };
> 

#endif

Are you sure you weren't doing this before?

HTH,

Bruce
-- 

Bruce Visscher                                        visschb@rjrt.com
CONFIDENTIALITY NOTE:  This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information.  If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system.  Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful.