From e7b1905e49ff16fbc6a1e8c3d0d3187be3e756c8 Mon Sep 17 00:00:00 2001 From: cpq Date: Wed, 17 Mar 2021 12:15:46 +0000 Subject: [PATCH] Add -Wno-error=format-truncation for test++ build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20a0e07f..87bee83c 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ mg_prefix: mongoose.c mongoose.h $(CLANG) mongoose.c $(CFLAGS) -c -o /tmp/x.o && nm /tmp/x.o | grep ' T' | grep -v 'mg_' ; test $$? = 1 # C++ build -test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers +test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers -Wno-error=format-truncation -Wno-unknown-warning-option test++: unamalgamated # Make sure we can build from an unamalgamated sources