mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-06-15 16:36:07 +08:00
This fixes a compile error in all clang versions lower than 10, triggered by the use of the pragma ignore with what is an unknown warning on those compiler versions: ``` /__w/ext/fast_float/include/fast_float/parse_number.h:361:34: error: unknown warning group '-Wc++20-extensions', ignored [-Werror,-Wunknown-pragmas] ``` The fix requires looking at __clang_major__, which is unfortunately different in Apple, so a version dispatch is required. |
||
|---|---|---|
| .. | ||
| fast_float | ||