mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
Add missing #include <exception> for std::terminate
container_abort() calls std::terminate() but the file does not include <exception>. This compiles on most toolchains today because other headers transitively pull it in, but fails on Android NDK r28 (Clang 19) with C++23 where the transitive include no longer happens. Same class of issue as #395 (missing <ctype.h> in this file).
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// Do not include directly
|
||||
|
||||
#include <ctype.h>
|
||||
#include <exception>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable:4127) // warning C4127: conditional expression is constant
|
||||
|
||||
Reference in New Issue
Block a user