leftibot 9d4ec82475 Address review: fix AppleClang builds by adding from_chars float fallback
AppleClang's libc++ does not support std::from_chars for floating-point
types. Add a compile-time detection macro (CHAISCRIPT_HAS_FLOAT_FROM_CHARS)
and fall back to strtod/strtof/strtold on libc++ platforms. Centralize the
fallback in parse_num and route bootstrap.hpp and json.hpp through it to
keep the workaround in one place.

Requested by @lefticus in PR #669 review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 17:10:40 -06:00
..
dispatchkit Address review: fix AppleClang builds by adding from_chars float fallback 2026-04-12 17:10:40 -06:00
language Address review: simplify from_chars migration to net reduction in code 2026-04-12 16:29:31 -06:00
utility Address review: fix AppleClang builds by adding from_chars float fallback 2026-04-12 17:10:40 -06:00
chaiscript_basic.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_defines.hpp Address review: fix AppleClang builds by adding from_chars float fallback 2026-04-12 17:10:40 -06:00
chaiscript_stdlib.hpp Fix #146: Add configuration to bypass the registering of 'built-in' functions. (#642) 2026-04-11 16:49:13 -06:00
chaiscript_threading.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript.hpp Fix #146: Add configuration to bypass the registering of 'built-in' functions. (#642) 2026-04-11 16:49:13 -06:00