From: Rusty Russell Date: Wed, 27 Apr 2011 07:05:07 +0000 (+0930) Subject: Makefile: don't define -Werror for ccanlint. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=683264a9b13d9bf32be497ce66bdc4a9fadce0d6;ds=sidebyside Makefile: don't define -Werror for ccanlint. It's useful for developers, but not so much for casual users. For example, RHEL 5.6 has qsort_r, but no prototype, which causes a warning. --- diff --git a/Makefile-ccan b/Makefile-ccan index ba83f4ae..3efe59a5 100644 --- a/Makefile-ccan +++ b/Makefile-ccan @@ -4,7 +4,7 @@ #CCAN_CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations CCAN_CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1 -CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror +CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) default: libccan.a