From bf9e206c39a7f15f87a6bffebc054ce672e7ca2d Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Wed, 1 Apr 2026 08:44:37 -0300 Subject: [PATCH] build/windows: Fail on warnings on Clang-CL builds for gimp sake --- build/windows/2_build-gimp-msys2.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/windows/2_build-gimp-msys2.ps1 b/build/windows/2_build-gimp-msys2.ps1 index 34de672451..60f0530e35 100644 --- a/build/windows/2_build-gimp-msys2.ps1 +++ b/build/windows/2_build-gimp-msys2.ps1 @@ -43,7 +43,7 @@ if (-not (Test-Path _build-$(@($env:VCPKG_DEFAULT_TRIPLET,$env:MSYSTEM_PREFIX) | { #FIXME: There is no GJS for Windows. See: https://gitlab.gnome.org/GNOME/gimp/-/issues/5891 meson setup _build-$(@($env:VCPKG_DEFAULT_TRIPLET,$env:MSYSTEM_PREFIX) | ?{$_} | select -First 1) -Dprefix="$GIMP_PREFIX" $NON_RELOCATABLE_OPTION ` - $PKGCONF_RELOCATABLE_OPTION $INSTALLER_OPTION $STORE_OPTION ` + $PKGCONF_RELOCATABLE_OPTION $WARN_AS_ERROR_ON_CI $INSTALLER_OPTION $STORE_OPTION ` -Denable-default-bin=enabled -Dbuild-id='org.gimp.GIMP_official'; if ("$LASTEXITCODE" -gt '0') { exit 1 } }