]> git.ozlabs.org Git - ccan/blobdiff - config.h
tdb2: fix tools warnings with -Wshadow and -Wcast-qual.
[ccan] / config.h
index 22e6c2f97565aafde65f9a6e12c2cb9c10394913..f7dbc1f7c46133124bc81537a1025e25557992e3 100644 (file)
--- a/config.h
+++ b/config.h
@@ -3,7 +3,7 @@
 #define CCAN_CONFIG_H
 #define _GNU_SOURCE /* Always use GNU extensions. */
 #define CCAN_COMPILER "cc"
-#define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -DCCAN_STR_DEBUG=1"
+#define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1"
 
 #define HAVE_ALIGNOF 1
 #define HAVE_ASPRINTF 1
 #define HAVE_FOR_LOOP_DECLARATION 0
 #define HAVE_FLEXIBLE_ARRAY_MEMBER 1
 #define HAVE_GETPAGESIZE 1
+#define HAVE_ISBLANK 1
 #define HAVE_LITTLE_ENDIAN 1
+#define HAVE_MEMMEM 1
 #define HAVE_MMAP 1
 #define HAVE_NESTED_FUNCTIONS 1
+#define HAVE_STACK_GROWS_UPWARDS 0
 #define HAVE_STATEMENT_EXPR 1
 #define HAVE_TYPEOF 1
 #define HAVE_UTIME 1