aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/pure.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-02-05 01:38:47 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-02-05 01:38:47 +0000
commit22fdd65e5971ec8f15368ba77046ce8c6c3cb329 (patch)
tree177855d276d1c216598a7ec68ce2bb1412e384a4 /libstdc++/pure.c
parent4322eb6c0ee5bac01fbca9846438084d33367120 (diff)
downloadgcc-22fdd65e5971ec8f15368ba77046ce8c6c3cb329.zip
gcc-22fdd65e5971ec8f15368ba77046ce8c6c3cb329.tar.gz
gcc-22fdd65e5971ec8f15368ba77046ce8c6c3cb329.tar.bz2
Remove V2 C++ library.
* configure.in: Remove --enable-libstdcxx_v3 support. * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3. * configure.in: Remove --enable-libstdcxx_v3 support. * configure: Regenerated. From-SVN: r39445
Diffstat (limited to 'libstdc++/pure.c')
-rw-r--r--libstdc++/pure.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libstdc++/pure.c b/libstdc++/pure.c
deleted file mode 100644
index abaed59..0000000
--- a/libstdc++/pure.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#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 ();
-}