diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-11 15:33:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-12 08:03:25 +0200 |
commit | 7548748e34966174abed39f3682bae445f1c8bdc (patch) | |
tree | 9665ab8df2645399fdb97ff08ff15d87b271cafb /external | |
parent | bfca51d9035000e518e4938ceb145cb92cc17b1f (diff) |
workaround clang-16 complaint in skia
Change-Id: I4c7ce097c4992939f2c3443ac1eb4c7cea73b8d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138147
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'external')
-rw-r--r-- | external/skia/Library_skia.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/external/skia/Library_skia.mk b/external/skia/Library_skia.mk index 14c59c99c41e..8e5b824c2e24 100644 --- a/external/skia/Library_skia.mk +++ b/external/skia/Library_skia.mk @@ -104,6 +104,13 @@ $(eval $(call gb_Library_add_libs,skia,\ )) endif +# clang-16 complains about +# /home/noel/libo4/workdir/UnpackedTarball/skia/include/private/SkTFitsIn.h:83:16: error: integer value 255 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion] +# src <= (S)std::numeric_limits<typename sk_strip_enum<D>::type>::max() : +$(eval $(call gb_Library_add_cxxflags,skia, \ + -Wno-enum-constexpr-conversion \ +)) + $(eval $(call gb_Library_use_libraries,skia,\ sal \ )) |