Browse Source

build: add symbol for upcoming gcc 4.9's libstdc++

0.10
Cory Fields 11 years ago
parent
commit
05c20a553a
  1. 7
      src/compat/glibcxx_compat.cpp

7
src/compat/glibcxx_compat.cpp

@ -77,4 +77,11 @@ ctype<char>::_M_widen_init() const { @@ -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

Loading…
Cancel
Save