Skip to contentSkip to conversation

MMSD Allow Maintainer mode to compile without -WError

PATCH New [email protected] 1 participant 1 message Feb 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 8/9 MMSD Allow Maintainer mode to compile without -WError

Right now, MMSD will fail to compile in maintainer mode. I removed -WError to fix that.

---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
acinclude.m4 +1 -1
index 329c6a9..314dbb1 100644
@@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [
 		CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
 	fi
 	if (test "$USE_MAINTAINER_MODE" = "yes"); then
-		CFLAGS+=" -Werror -Wextra"
+		CFLAGS+=" -Wextra"
 		CFLAGS+=" -Wno-unused-parameter"
 		CFLAGS+=" -Wno-missing-field-initializers"
 		CFLAGS+=" -Wdeclaration-after-statement"
Signature · 1 line
2.30.0