From 99b00a8cc0fff05c1ce62ce03ccd3a0c35e61cc9 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 13 Jan 2020 18:17:56 -0800 Subject: [PATCH] GUACAMOLE-249: Add -Werror to CPPFLAGS for FreeRDP tests to ensure tests fail when pointers are incompatible. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cdd75666..eb182feb 100644 --- a/configure.ac +++ b/configure.ac @@ -546,7 +546,7 @@ if test "x$with_rdp" != "xno" then have_freerdp2=yes PKG_CHECK_MODULES([RDP], [freerdp2 freerdp-client2 winpr2], - [CPPFLAGS="${RDP_CFLAGS} $CPPFLAGS"], + [CPPFLAGS="${RDP_CFLAGS} -Werror $CPPFLAGS"], [AC_MSG_WARN([ -------------------------------------------- Unable to find FreeRDP (libfreerdp2 / libfreerdp-client2 / libwinpr2)