Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4751979

Browse files
committedApr 24, 2024
chore: compile for CBMC with warnings-as-errors
This will avoid type conflicts from silently creeping in.
1 parent 1c6048f commit 4751979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎verification/cbmc/proofs/Makefile.common

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ COVERFLAGS += $(CBMC_FLAG_MALLOC_FAIL_NULL)
307307
NONDET_STATIC ?=
308308

309309
# Flags to pass to goto-cc for compilation and linking
310-
COMPILE_FLAGS ?= -Wall
311-
LINK_FLAGS ?= -Wall
310+
COMPILE_FLAGS ?= -Wall -Werror
311+
LINK_FLAGS ?= -Wall -Werror
312312
EXPORT_FILE_LOCAL_SYMBOLS ?= --export-file-local-symbols
313313

314314
# Preprocessor include paths -I...

0 commit comments

Comments
 (0)
Please sign in to comment.