ccan: add -Wpointer-arith and -Wwrite-strings by default
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:21:00 +0000 (11:51 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:21:00 +0000 (11:51 +1030)
commita95fc43fbef22efa0a41b3ce86a732bb57ad9ef5
tree63e51ab5d36d27691bb52543eed556cddff48f4a
parent414da16fc2996a74f19f47ab7379ca61a723b425
ccan: add -Wpointer-arith and -Wwrite-strings by default

Wpointer-arith is useful for spotting GCC-isms which do arithmetic on
void pointers.  Wwrite-strings treats string constants as const char *,
which is sane (but bad for legacy code).
Makefile-ccan
config.h