summaryrefslogtreecommitdiff
path: root/external/skia/clang-attributes-warning.patch.1
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-10-08 16:00:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-10-09 13:55:48 +0200
commit860ec21856a25c1aee45e64b5760a31294e62d54 (patch)
treebe3be3b33ff85474c5da294a6bf6cfbde25be9fa /external/skia/clang-attributes-warning.patch.1
parenta16a0dc9d211e48da5799e8c10a3b5e4f58f2525 (diff)
update to skia m123
Change-Id: Ic7687add0fce85b17bf77b003137649bc7be9042 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174703 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'external/skia/clang-attributes-warning.patch.1')
-rw-r--r--external/skia/clang-attributes-warning.patch.16
1 files changed, 3 insertions, 3 deletions
diff --git a/external/skia/clang-attributes-warning.patch.1 b/external/skia/clang-attributes-warning.patch.1
index fa617c4e831f..6e6c34674734 100644
--- a/external/skia/clang-attributes-warning.patch.1
+++ b/external/skia/clang-attributes-warning.patch.1
@@ -12,9 +12,9 @@ diff -ur skia.org/include/private/base/SkFloatingPoint.h skia/include/private/ba
return static_cast<float>(x);
}
@@ -161,12 +163,16 @@
-
- // IEEE defines how float divide behaves for non-finite values and zero-denoms, but C does not,
- // so we have a helper that suppresses the possible undefined-behavior warnings.
+ #pragma warning( disable : 4723)
+ #endif
+ // Your function
+#if defined(__clang__)
SK_NO_SANITIZE("float-divide-by-zero")
+#endif