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
..
chaiscript Address review: fix AppleClang builds by adding from_chars float fallback 2026-04-12 17:10:40 -06:00