Browse Source

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

tags/v0.15.1
Cory Fields 7 years ago
parent
commit
05c20a553a
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/compat/glibcxx_compat.cpp

+ 7
- 0
src/compat/glibcxx_compat.cpp View File

@@ -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