Skip to content

Commit 84c4b70

Browse files
authored
chore: make cbmc proof build more strict by adding -Werror flag (#4606)
1 parent 2edc3f8 commit 84c4b70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/cbmc/proofs/Makefile.common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ CHECKFLAGS += $(CBMC_FLAG_UNSIGNED_OVERFLOW_CHECK)
299299
NONDET_STATIC ?=
300300

301301
# Flags to pass to goto-cc for compilation and linking
302-
COMPILE_FLAGS ?= -Wall
303-
LINK_FLAGS ?= -Wall
302+
COMPILE_FLAGS ?= -Wall -Werror
303+
LINK_FLAGS ?= -Wall -Werror
304304
EXPORT_FILE_LOCAL_SYMBOLS ?= --export-file-local-symbols
305305

306306
# During instrumentation, it adds models of C library functions

0 commit comments

Comments
 (0)