charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Christian Perez <christian.perez AT inria.fr>
- To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
- Cc: Gengbin Zheng <zhenggb AT gmail.com>
- Subject: [charm] Pb with inheritance
- Date: Tue, 01 Jun 2010 10:54:04 +0200
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
- Organization: INRIA/LIP
Hello,
please consider the attached example, where a chare A inherits from 2 others chare I1 & I2:
chare I1
{
entry void foo1();
};
chare I2
{
entry void foo2();
};
chare A : I1, I2
{
entry A();
};
When invoking foo2 on A, either foo2 of the class I2 is called (not A::foo2 !) if methods foo1 & foo2 are not virtual
or foo1 on A (vtable issue?) is invoked if they are virtual. Though class inheritance is not virtual, can it be the same issue?
Any help is welcome.
Christian
Attachment:
bug_inheritance.tz2
Description: Binary data
- [charm] Pb with inheritance, Christian Perez, 06/01/2010
- Re: [charm] Pb with inheritance, Aaron Becker, 06/01/2010
- Re: [charm] Pb with inheritance, Christian Perez, 06/01/2010
- Re: [charm] Pb with inheritance, Filippo Gioachin, 06/03/2010
- Re: [charm] Pb with inheritance, Christian Perez, 06/01/2010
- Re: [charm] Pb with inheritance, Aaron Becker, 06/01/2010
Archive powered by MHonArc 2.6.16.