From 095219334defbe542f41046a28f1101d78f5eb26 Mon Sep 17 00:00:00 2001 From: Yexuan Xiao Date: Thu, 5 Nov 2026 11:01:50 +0800 Subject: [PATCH] Include standard headers to prevent module conflicts Added includes for stdexcept, limits, algorithm, and cmath to avoid module purview issues. --- strings/base_module_numerics_ixx.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/strings/base_module_numerics_ixx.h b/strings/base_module_numerics_ixx.h index f1ade01ff..6b4ca8aa6 100644 --- a/strings/base_module_numerics_ixx.h +++ b/strings/base_module_numerics_ixx.h @@ -4,3 +4,12 @@ #if defined(_MSC_VER) #pragma detect_mismatch("C++/WinRT version", CPPWINRT_VERSION) #endif + +// Windows SDK's windowsnumerics.impl.h transitively includes and +// , while mingw-w64's transitively includes and . +// Including them in advance here keeps them out of the module purview. + +#include +#include +#include +#include