aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-04-02 00:22:15 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-04-02 00:32:54 +0300
commit66fdfaeb8d909cd95354f72cd062030168efb1cf (patch)
tree53f34fe625c078be7e031ea4bcf2dba644cce874
parent46966b4d9e58a39b178198c5b9a58ff545447c29 (diff)
downloadydb-66fdfaeb8d909cd95354f72cd062030168efb1cf.tar.gz
Update contrib/restricted/fast_float to 6.1.1
51183cdf9c5be7e0864b3bc74933c662a6238c8d
-rw-r--r--contrib/restricted/fast_float/README.md4
-rw-r--r--contrib/restricted/fast_float/SECURITY.md7
-rw-r--r--contrib/restricted/fast_float/include/fast_float/float_common.h4
-rw-r--r--contrib/restricted/fast_float/ya.make4
4 files changed, 13 insertions, 6 deletions
diff --git a/contrib/restricted/fast_float/README.md b/contrib/restricted/fast_float/README.md
index a7f72bedba..d9208dad29 100644
--- a/contrib/restricted/fast_float/README.md
+++ b/contrib/restricted/fast_float/README.md
@@ -381,9 +381,9 @@ the command line help.
You may directly download automatically generated single-header files:
-https://github.com/fastfloat/fast_float/releases/download/v6.1.0/fast_float.h
+https://github.com/fastfloat/fast_float/releases/download/v6.1.1/fast_float.h
-## RFC 7159
+## RFC 7159
If you need support for RFC 7159 (JSON standard), you may want to consider using the [fast_double_parser](https://github.com/lemire/fast_double_parser/) library instead.
diff --git a/contrib/restricted/fast_float/SECURITY.md b/contrib/restricted/fast_float/SECURITY.md
new file mode 100644
index 0000000000..87c4c9b35e
--- /dev/null
+++ b/contrib/restricted/fast_float/SECURITY.md
@@ -0,0 +1,7 @@
+# Security Policy
+
+## Reporting a Vulnerability
+
+Please use the following contact information for reporting a vulnerability:
+
+- [Daniel Lemire](https://github.com/lemire) - daniel@lemire.me
diff --git a/contrib/restricted/fast_float/include/fast_float/float_common.h b/contrib/restricted/fast_float/include/fast_float/float_common.h
index 102ef95762..8928da71c5 100644
--- a/contrib/restricted/fast_float/include/fast_float/float_common.h
+++ b/contrib/restricted/fast_float/include/fast_float/float_common.h
@@ -8,7 +8,7 @@
#include <type_traits>
#include <system_error>
#ifdef __has_include
- #if __has_include(<stdfloat>)
+ #if __has_include(<stdfloat>) && (__cplusplus > 202002L || _MSVC_LANG > 202002L)
#error #include <stdfloat>
#endif
#endif
@@ -331,7 +331,7 @@ value128 full_multiplication(uint64_t a, uint64_t b) {
answer.low = a * b;
#elif defined(FASTFLOAT_32BIT) || (defined(_WIN64) && !defined(__clang__))
answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64
-#elif defined(FASTFLOAT_64BIT)
+#elif defined(FASTFLOAT_64BIT) && defined(__SIZEOF_INT128__)
__uint128_t r = ((__uint128_t)a) * b;
answer.low = uint64_t(r);
answer.high = uint64_t(r >> 64);
diff --git a/contrib/restricted/fast_float/ya.make b/contrib/restricted/fast_float/ya.make
index 3910640cd3..f4c92eb84f 100644
--- a/contrib/restricted/fast_float/ya.make
+++ b/contrib/restricted/fast_float/ya.make
@@ -10,9 +10,9 @@ LICENSE(
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(6.1.0)
+VERSION(6.1.1)
-ORIGINAL_SOURCE(https://github.com/fastfloat/fast_float/archive/v6.1.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/fastfloat/fast_float/archive/v6.1.1.tar.gz)
NO_COMPILER_WARNINGS()