From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29842 invoked by alias); 27 Mar 2003 17:56:07 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 29821 invoked from network); 27 Mar 2003 17:56:06 -0000 To: ecos-maintainers@sources.redhat.com Subject: [APPROVE] __cxa_pure_virtual() From: Bart Veer Message-Id: <20030327175605.5459FEC6F1@delenn.bartv.net> Date: Thu, 27 Mar 2003 17:56:00 -0000 X-SW-Source: 2003-03/txt/msg00073.txt.bz2 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 Without this patch any C++ code that uses pure virtual functions will fail to link. The patch adds a single new function __cxa_pure_virtual() which will never get called in normal operation, but which does get referenced by the compiled C++ code. The only time this function may get called is if the application calls a virtual function while the object is still being created, which gives undefined behaviour. Hence the risk is small. Bart