Skip to content

Commit

Permalink
build: add -Wno-parentheses to libutil AM_CPFLAGS
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
garlick committed Nov 20, 2017
1 parent 4e3eef9 commit 188ee1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libutil/Makefile.am
Original file line number Diff line number Diff line change
@@ -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 = \
Expand Down

0 comments on commit 188ee1a

Please sign in to comment.