From 188ee1aeb2236bbedb845afa3665578f0121bfb8 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Mon, 20 Nov 2017 10:30:30 -0500 Subject: [PATCH] build: add -Wno-parentheses to libutil AM_CPFLAGS Problem: gcc 7.2.0 (Ubuntu 17.10) includes -Wparentheses in -Wall. This causes compilation of base64.c to fail. Add -Wno-parentheses to libutil's AM_CFLAGS. --- src/libutil/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/Makefile.am b/src/libutil/Makefile.am index a6326acda6a8..c3e9e35752c8 100644 --- a/src/libutil/Makefile.am +++ b/src/libutil/Makefile.am @@ -1,6 +1,6 @@ AM_CFLAGS = \ $(WARNING_CFLAGS) \ - -Wno-sign-compare -Wno-unused-parameter \ + -Wno-sign-compare -Wno-unused-parameter -Wno-parentheses \ $(CODE_COVERAGE_CFLAGS) AM_LDFLAGS = \