Skip to content

Commit 284e725

Browse files
committed
for now, accept string formats that truncate (as long as they don't overflow!)
1 parent 6dfa8ac commit 284e725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ INCLUDE += $(LIBTIRPC_CFLAGS)
244244
# Compilation options. Perhaps some of these should come from Makefile.inc? (CXXFLAGS now does)
245245
INTEGER_OVERFLOW_FLAGS := -fwrapv
246246
OPT := -Os $(INTEGER_OVERFLOW_FLAGS)
247-
DEBUG := $(DEBUG) -g -Werror -Werror=all -Wstringop-truncation -Wno-stringop-truncation
247+
DEBUG := $(DEBUG) -g -Werror -Werror=all -Wstringop-truncation -Wno-stringop-truncation -Wno-format-truncation
248248
CFLAGS := $(INCLUDE) $(OPT) $(DEBUG) $(EXTRA_DEBUG) -DULAPI -std=gnu11 -Werror=implicit-function-declaration $(CFLAGS) $(CPPFLAGS)
249249
CXXFLAGS := $(INCLUDE) $(EXTRA_DEBUG) -DULAPI $(DEBUG) $(OPT) -Werror=overloaded-virtual $(CXXFLAGS) $(CPPFLAGS)
250250
CXXFLAGS += -std=gnu++17

0 commit comments

Comments
 (0)