Back to -ansi, removed trailing comma

This commit is contained in:
Richard James Howe
2018-05-11 00:01:41 +01:00
parent aa3af70ae5
commit d3ea59b5e2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
CC = gcc
STND=-std=c99
STND=-ansi
CFLAGS = $(STND) -pedantic -O3 -g -Wall -Werror -Wextra -Wformat=2 -Wshadow \
-Wno-long-long -Wno-overlength-strings -Wno-format-nonliteral -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls \

2
mpc.c
View File

@@ -885,7 +885,7 @@ enum {
MPC_TYPE_AND = 24,
MPC_TYPE_CHECK = 25,
MPC_TYPE_CHECK_WITH = 26,
MPC_TYPE_CHECK_WITH = 26
};
typedef struct { char *m; } mpc_pdata_fail_t;