mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 20:29:53 +08:00
9ab916b8ed
* del_op.cc, del_opnt.cc, del_opv.cc, del_opvnt.cc: New files. * exception.cc, new_handler.cc, new_op.cc, new_opnt.cc: New files. * new_opv.cc, new_opvnt.cc, tinfo.cc, tinfo2.cc, vec.cc: New files. * cxxabi.h, exception, new, new.h, typeinfo, pure.c: New files. * tinfo.hP: New file. * Makefile.in (OBJS, HEADERS): Add new files. * configure.in (XCXXINCLUDES): Add ../include and ../gcc. From-SVN: r36780
17 lines
383 B
C
17 lines
383 B
C
#include <stdio.h>
|
|
|
|
#ifdef __GNU_LIBRARY__
|
|
/* Avoid forcing the library's meaning of `write' on the user program
|
|
by using the "internal" name (for use within the library) */
|
|
#define write(fd, buf, n) __write((fd), (buf), (n))
|
|
#endif
|
|
|
|
#define MESSAGE "pure virtual method called\n"
|
|
|
|
void
|
|
__pure_virtual (void)
|
|
{
|
|
write (2, MESSAGE, sizeof (MESSAGE) - 1);
|
|
__terminate ();
|
|
}
|