Add <stdexcept>.#14299
Conversation
For use of std::runtime_error.
|
Can one of the admins verify this patch? |
|
@BillyONeal thanks for the PR, |
Perhaps the version of the compiler or standard library you're using is different, or one of your other dependencies drags this header in ahead of you. |
|
Ah, I also observe that vcpkg is still shipping |
|
Hmmm I also see we have a lot of other patches similarly adding standard library headers but not sure if they ever got submitted upstream: |
|
OK, I don't mind adding it if it helps you. |
Sure, not asking to update our bits, just pointing it out in case I'm accidentally wasting your time 😅. Our normal rule is that if we're going to patch something, we at a minimum notify upstream. Just adding standard includes we don't do the 30 day waiting period for so we've already patched this. Thanks for your consideration! |
For use of std::runtime_error.
This resolves build failures on Ubuntu 24.04 like the following: