From 398092538ece2ac9fc9dd9be07d9ad1e0f07608b Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Thu, 12 Nov 2026 07:47:54 +0100 Subject: [PATCH] to_number: Add misssing include [why] Build fails on CI jobs with - x86_64-apple-darwin13.4.0-clang++ - arm64-apple-darwin20.0.0-clang++ In file included from ../work/subprojects/gul17/src/to_number.cc:28: ../work/subprojects/gul17/include/gul17/to_number.h:369:14: error: no template named 'greater' in namespace 'std'; did you mean 'isgreater'? 369 | std::greater<>()(sizeof(NumberType), sizeof(double)), | ~~~~~^~~~~~~ | isgreater $BUILD_PREFIX/bin/../include/c++/v1/cmath:356:9: note: 'isgreater' declared here 356 | using ::isgreater _LIBCPP_USING_IF_EXISTS; | ^ std::greater<> is defined in . Strange is that this is not a problem for my own Darwin machine with Sequoia and clang 17.0.0. But the clang in question comes in via Conda. That did differ from the official Apple clang in the past already. Signed-off-by: Fini Jastrow --- include/gul17/to_number.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gul17/to_number.h b/include/gul17/to_number.h index 1b6bced..105d88c 100644 --- a/include/gul17/to_number.h +++ b/include/gul17/to_number.h @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include