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

This commit is contained in:
cpq
2021-03-17 12:15:46 +00:00
parent e00265f855
commit e7b1905e49
+1 -1
View File
@@ -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