This is the mail archive of the ecos-maintainers@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [APPROVE] __cxa_pure_virtual()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]