[PATCH] D47987: Provide only one declaration of __throw_runtime_error

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 14 07:27:37 PDT 2018


mclow.lists added a comment.

I'm not really happy with gcc's redundant declaration warnings; I think they're "nannying" rather than useful.

That being said, why not just remove the declaration in `__locale`?
`__locale` includes `string`, which includes `stdexcept`.


Repository:
  rCXX libc++

https://reviews.llvm.org/D47987





More information about the cfe-commits mailing list