diff options
Diffstat (limited to 'libstdc++/stdexcepti.cc')
-rw-r--r-- | libstdc++/stdexcepti.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++/stdexcepti.cc b/libstdc++/stdexcepti.cc index 1ab8d889043..3b03acd63f4 100644 --- a/libstdc++/stdexcepti.cc +++ b/libstdc++/stdexcepti.cc @@ -6,3 +6,16 @@ #endif #include <stdexcept> + +// 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); +} |