This is the mail archive of the
ecos-maintainers@sources.redhat.com
mailing list for the eCos project.
Re: [APPROVE] __cxa_pure_virtual()
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Bart Veer <bartv at ecoscentric dot com>
- Cc: ecos-maintainers at sources dot redhat dot com
- Date: Thu, 27 Mar 2003 18:07:26 +0000
- Subject: Re: [APPROVE] __cxa_pure_virtual()
- References: <20030327175605.5459FEC6F1@delenn.bartv.net>
Bart Veer wrote:
I have just committed a patch to CYGPKG_INFRA to provide an
implementation of __cxa_pure_virtual() that is appropriate for eCos,
overriding the one in libsupc++.
http://sources.redhat.com/ml/ecos-patches/2003-03/msg00209.html
No objection in principle, although I think you could add a diag_printf
after the CYG_FAIL saying the same thing so there is some potential
diagnostic if people don't have asserts enabled.
Perhaps even
#ifdef CYGDBG_USE_ASSERTS
CYG_FAIL
#else
diag_printf
#endif
Whatever the specific implementation, the patch is worth including in 2.0.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine