Re: does this dynamic_cast<> bug know?
- From: Bowie Owens <bowie owens csiro au>
- To: Alexander Nedotsukov <bland mail ru>
- Cc: orbitcpp-list gnome org
- Subject: Re: does this dynamic_cast<> bug know?
- Date: Mon, 23 Jun 2003 13:37:08 +1000
Hi Alexander,
I have committed the changes to IDLStruct and IDLUnion to CVS.
If GCC 2.95 support is important to you, would you please checkout the
latest version of orbitcpp from CVS and check if the idl-compiler output
compiles. After 1.3.6 was released a large adjustment was made to the
generated code and I can only to test it with GCC 3.2.
Alexander Nedotsukov wrote:
Bowie Owens wrote:
Hi Alexander,
Nice work on the bug report. I was able to reproduce the problem with
your sample code. It looks like the problem might be easy to fix.
Deleting public virtual T from the X base list was sufficient to get
the sample working. I don't think IDLStruct needs to directly inherit
from IDLType. Please try commenting out the public virtual IDLType in
the IDLStruct base class list:
Damn why I not tried that? :-)
class IDLStruct: public IDLCompound, /*public virtual IDLType,*/
public IDLCompoundSeqElem
Can you confirm that this allows the idl compiler to function
properly or at least better.
Yep. Now it function properly. Actually one more similar place to fix
in orbitcpp/idl-compiller/types/IDLUnion.h
Thanks!
--
Bowie Owens
CSIRO Mathematical & Information Sciences
phone : +61 3 9545 8055
fax : +61 3 9545 8080
mobile : 0425 729 875
email : Bowie Owens csiro au
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]