]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.h
New asort routine; unf. breaks under -Wmissing-prototypes etc :(
[ccan] / tools / tools.h
index 6f732378d331d51bae5e2820934df6cc728acb95..ed2f6bfb6e77442e9682f450d34db6b2cce6e93e 100644 (file)
@@ -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,