external/skia/Library_skia.mk | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 7548748e34966174abed39f3682bae445f1c8bdc Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Aug 11 15:33:27 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Aug 12 08:03:25 2022 +0200 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.gran...@collabora.co.uk> 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 \ ))