diff options
| author | Cory Fields <[email protected]> | 2014-04-11 18:51:49 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-04-11 19:02:01 -0400 |
| commit | 05c20a553a12d03b1512a75973674c6d25534259 (patch) | |
| tree | 797cda2dbabfb231f00071e4fae9b2ca5d99fc48 /src/compat | |
| parent | gitian-linux: --enable-glibc-back-compat (diff) | |
| download | discoin-05c20a553a12d03b1512a75973674c6d25534259.tar.xz discoin-05c20a553a12d03b1512a75973674c6d25534259.zip | |
build: add symbol for upcoming gcc 4.9's libstdc++
Diffstat (limited to 'src/compat')
| -rw-r--r-- | src/compat/glibcxx_compat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compat/glibcxx_compat.cpp b/src/compat/glibcxx_compat.cpp index 6e04f6745..e91376f81 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 |