aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-04-11 18:51:49 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-04-11 19:02:01 -0400
commit05c20a553a12d03b1512a75973674c6d25534259 (patch)
tree797cda2dbabfb231f00071e4fae9b2ca5d99fc48 /src
parent49a3352c1c05319c5fa22c4cb6819371d71de74d (diff)
build: add symbol for upcoming gcc 4.9's libstdc++
Diffstat (limited to 'src')
-rw-r--r--src/compat/glibcxx_compat.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compat/glibcxx_compat.cpp b/src/compat/glibcxx_compat.cpp
index 6e04f67459..e91376f818 100644
--- a/src/compat/glibcxx_compat.cpp
+++ b/src/compat/glibcxx_compat.cpp
@@ -77,4 +77,11 @@ ctype<char>::_M_widen_init() const {
}
}
+void __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__));
+void __throw_out_of_range_fmt(const char* err, ...)
+{
+ // Safe and over-simplified version. Ignore the format and print it as-is.
+ __throw_out_of_range(err);
+}
+
}// namespace std