From b1845aad5f5cb9c58805c4c28bf8ad20dcd3ad56 Mon Sep 17 00:00:00 2001 From: John Jones Date: Tue, 21 Mar 2017 14:23:31 +0000 Subject: [PATCH] compiler switch for c99 --- Makefile | 4 ++-- test/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 85f836b..b0d2936 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -O0 -g3 -Wall +CFLAGS = -O0 -g3 -Wall -std=c99 LFLAGS = DEPS = protobuf.h OBJS = protobuf.o varint.o @@ -21,4 +21,4 @@ clean: rm -f protobuf_reader; cd test; make clean; -rebuild: clean all \ No newline at end of file +rebuild: clean all diff --git a/test/Makefile b/test/Makefile index 7a17da4..ae5963e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -O0 -g3 -Wall -I../ +CFLAGS = -O0 -g3 -Wall -I../ -std=c99 LFLAGS = DEPS = ../protobuf.h OBJS = testit.o ../protobuf.o ../varint.o Test1_protobuf.o Test2_protobuf.o Test3_protobuf.o @@ -16,4 +16,4 @@ clean: rm -f *.o rm -f test_protobuf -rebuild: clean all \ No newline at end of file +rebuild: clean all