[prev in list] [next in list] [prev in thread] [next in thread]
List: jacorb-developer
Subject: Re: [jacorb-developer] cannot compile inheritance through included
From: vaid <vadim_by () inbox ! ru>
Date: 2008-07-09 7:40:32
Message-ID: 18356130.post () talk ! nabble ! com
[Download RAW message or body]
Hi.
The solution(workaround): Prefix for the class should be used.
For example:
1. This will cause an error:
module test {
module Common {
interface Iterator {
boolean next();
};
};
};
module test {
module ForTest {
typedef Common::Iterator Iterator;
interface Test : Iterator {
};
};
};
2. And no error here:
module test {
module Common {
interface Iterator {
boolean next();
};
};
};module test {
module ForTest {
// typedef Common::Iterator Iterator;
interface Test : Common::Iterator { // Used "Common::" before Iterator
};
};
};
Thanks,
Vadim
--
View this message in context: \
http://www.nabble.com/cannot-compile-inheritance-through-included-modules-tp16175971p18356130.html
Sent from the JacORB - Dev mailing list archive at Nabble.com.
_______________________________________________
jacorb-developer maillist - jacorb-developer@lists.spline.inf.fu-berlin.de
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic