From 91dfcd5a5d2cb20285504d787ee4a6135303891a Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周日, 15 5月 2016 20:01:44 +0800 Subject: [PATCH] Fix buffer overflow in SCPI_NumberToStr, SCPI_DoubleToStr and SCPI_FloatToStr --- examples/test-tcp/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/test-tcp/Makefile b/examples/test-tcp/Makefile index 3338b7b..400e123 100644 --- a/examples/test-tcp/Makefile +++ b/examples/test-tcp/Makefile @@ -2,7 +2,7 @@ PROG = test SRCS = main.c ../common/scpi-def.c -CFLAGS += -Wextra -I ../../libscpi/inc/ +CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -I ../../libscpi/inc/ LDFLAGS += ../../libscpi/dist/libscpi.a -Wl,--as-needed .PHONY: clean all -- Gitblit v1.9.1