We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17be1a4 commit 53f8c2cCopy full SHA for 53f8c2c
Makefile
@@ -3,7 +3,7 @@
3
# This file is released under the BSD license, see the COPYING file
4
5
DEBUG?= -g
6
-CFLAGS?= -O2 -Wall -W -DSDS_ABORT_ON_OOM
+CFLAGS?= -std=c99 -pedantic -O2 -Wall -W -DSDS_ABORT_ON_OOM
7
CCOPT= $(CFLAGS)
8
9
OBJ = adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o
sds.h
@@ -38,7 +38,7 @@ typedef char *sds;
38
struct sdshdr {
39
long len;
40
long free;
41
- char buf[0];
+ char buf[];
42
};
43
44
sds sdsnewlen(const void *init, size_t initlen);
0 commit comments