From 62c88410faa73a20a5943311456ad3e6838c83dc Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Mon, 22 Apr 2024 10:08:49 +0000 Subject: [PATCH] chore: compile for CBMC with warnings-as-errors This will avoid type conflicts from silently creeping in. --- verification/cbmc/proofs/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verification/cbmc/proofs/Makefile.common b/verification/cbmc/proofs/Makefile.common index 1c05c2ef4..faaf4e3f5 100644 --- a/verification/cbmc/proofs/Makefile.common +++ b/verification/cbmc/proofs/Makefile.common @@ -307,8 +307,8 @@ COVERFLAGS += $(CBMC_FLAG_MALLOC_FAIL_NULL) NONDET_STATIC ?= # Flags to pass to goto-cc for compilation and linking -COMPILE_FLAGS ?= -Wall -LINK_FLAGS ?= -Wall +COMPILE_FLAGS ?= -Wall -Werror +LINK_FLAGS ?= -Wall -Werror EXPORT_FILE_LOCAL_SYMBOLS ?= --export-file-local-symbols # Preprocessor include paths -I...