Re: Strange __cxa_pure_virtual problem

John Dallaway <[email protected]>
Newsgroups gmane.os.ecos.devel
Message-ID <[email protected]>
Hi Uwe (and Bart)

Uwe Kindler wrote:

> thank you for the hint.
> 
> I replaced the __cxa_pure_virtual function in infra/pure.cxx by the
> following code
> 
> #include <cxxabi.h>
> 
> extern "C" void
> __cxxabiv1::__cxa_pure_virtual (void)
> {
>     CYG_FAIL("attempt to use a virtual function before object has been
> constructed");
>     for ( ; ; );
> }
> 
> It did not solve the problem.

Hmm. It might be worth trying the older eCos arm-elf toolchain (GCC
3.2.1) to help narrow the search space for this problem.

Bart, do you have any ideas why your implementation of
__cxa_pure_virtual() in CYGPKG_INFRA might be ignored?

John Dallaway
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.