From d7b20d7c01b2de5d2bf7f894e9d623412917c61c Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 27 Nov 2023 16:01:19 +0100 Subject: [PATCH] configure: Enable -Wenum-conversion warnings. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 35617c4f..6cd9d9b7 100644 --- a/configure.ac +++ b/configure.ac @@ -65,6 +65,7 @@ AS_IF([test "x${GCC}" = "xyes"], VKD3D_CHECK_CFLAGS([-Wunused-but-set-parameter]) VKD3D_CHECK_CFLAGS([-Wvla]) VKD3D_CHECK_CFLAGS([-Wpointer-arith]) + VKD3D_CHECK_CFLAGS([-Wenum-conversion]) VKD3D_CHECK_CFLAGS([-Wl,--no-undefined])]) dnl Check for cross compilers