]> granicus.if.org Git - jq/commitdiff
-Werror was a little overzealous.
authorStephen Dolan <mu@netsoc.tcd.ie>
Tue, 18 Sep 2012 08:43:44 +0000 (09:43 +0100)
committerStephen Dolan <mu@netsoc.tcd.ie>
Tue, 18 Sep 2012 08:43:44 +0000 (09:43 +0100)
Older versions of gcc warn about random things. -Werror makes the
built fail on such compilers.

c/Makefile

index ddd49aea1ab135fecb5d9b9e82711114bb656aac..7f58c6171be1ff7fb055b54e10dcb023bea09804 100644 (file)
@@ -1,4 +1,4 @@
-CC=gcc -Werror -Wextra -Wall -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function
+CC=gcc -Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function
 
 .PHONY: all clean
 all: parsertest