Hi,

On Mon, 9 Jan 2006, Gurminder Singh wrote:

Hi All,



I am trying to connect to RMI server through the c++ client using Mico
orb.

But I get the error while compiling the idls generated by the RMIC.



Following is the idl which represent the scenario.



When i compile this with IDL Compiler I get following error:

identifier 'iterator' defined twice in this scope



module M2{

     abstract valuetype Iterator{

           long iterator();

     };



     abstract valuetype Collection: Iterator{

           long iterator();

     };


Yes, the problem is that you use `iterator' twice and since IDL does not provide operation overloading semantics it just find out that you use `iterator' operation twice in the Collection valuetype. So please fix your code accordingly.

Cheers,
Karel
--
Karel Gardas                  [EMAIL PROTECTED]
ObjectSecurity Ltd.           http://www.objectsecurity.com
---
Need experienced, fast, reliable technical MICO support?
    ---> http://www.objectsecurity.com/commsup.html  <---
---
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to