From 2cef6469c5bfaca5647a9b7478a519d0de7d7b64 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 4 Oct 1999 08:12:38 +0000 Subject: Virgin import of EGCS 1.1.2's libstdc++ --- contrib/libstdc++/stdexcepti.cc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 contrib/libstdc++/stdexcepti.cc (limited to 'contrib/libstdc++/stdexcepti.cc') diff --git a/contrib/libstdc++/stdexcepti.cc b/contrib/libstdc++/stdexcepti.cc new file mode 100644 index 0000000..3b03acd --- /dev/null +++ b/contrib/libstdc++/stdexcepti.cc @@ -0,0 +1,21 @@ +// Implementation file for Exception Support for -*- C++ -*- +// This file is part of the GNU ANSI C++ Library. + +#ifdef __GNUG__ +#pragma implementation "stdexcept" +#endif + +#include + +// Entry points for string. + +void +__out_of_range (const char *s) +{ + throw out_of_range (s); +} + +void __length_error (const char *s) +{ + throw length_error (s); +} -- cgit v1.1