On Fri, 2009-06-19 at 11:20 +0200, Johnny Willemsen wrote:
> > This was clearly an error but I can explain and fix it.
> >
> > There were overlapping main/gccmain (or so) functions in src/mingw and
> > src/gcc-4.4.0/gcc/libgcc2.c . Both were calling constructors and
> > destructors.
> >
> > Now, here's a debug session that shows that the constructor of the
> > iostream crashes.
> >
> > How do I go about debugging this ?
>
> I am not sure how to debug this, but we had crashes with iostream on vxworks
> when we compiled for the wrong ppc subtype. Some parts did then run, some
> not. Maybe somewhere something is set not correctly when compiling this
> library?
I'm trying to track down the problem by writing small test programs that
use C++ constructors in the presence of DLLs.
I have something with a constructor in a DLL that doesn't look right,
but I've not figured it out yet.
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel