X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=ed2f6bfb6e77442e9682f450d34db6b2cce6e93e;hp=6f732378d331d51bae5e2820934df6cc728acb95;hb=009f261242b7e1f5482e097315c82a4185a708bf;hpb=687cde2a8c561b68f17609b615eb930ea02f5aac diff --git a/tools/tools.h b/tools/tools.h index 6f732378..ed2f6bfb 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -9,7 +9,8 @@ #define SPACE_CHARS " \f\n\r\t\v" /* FIXME: Remove some -I */ -#define CFLAGS "-O -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I.. -I../.." +/* FIXME: Nested functions break with -Wmissing-prototypes -Wmissing-declarations */ +#define CFLAGS "-g -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Werror -Iccan/ -I. -I.. -I../.." /* This actually compiles and runs the info file to get dependencies. */ char **get_deps(const void *ctx, const char *dir, const char *name,