Add -Wno-error=format-truncation for linux++ build

This commit is contained in:
cpq 2021-03-17 12:11:05 +00:00
parent cd36708b6d
commit e00265f855

View File

@ -92,7 +92,7 @@ linux: Makefile mongoose.c mongoose.h test/unit_test.c
$(GCC) $(CC) mongoose.c test/unit_test.c $(CFLAGS) $(LDFLAGS) -o unit_test_gcc
$(GCC) ./unit_test_gcc
linux++: CC = g++ -Wno-missing-field-initializers
linux++: CC = g++ -Wno-missing-field-initializers -Wno-error=format-truncation
linux++: linux
mongoose.c: $(SRCS) Makefile