Skip to content

Commit 41bba2a

Browse files
committed
Suppress C++20-compat warnings
The warnings (errors due to -Werror) are coming from CBMC. The issue has been introduced in gcc 13 and is now fixed on CBMC develop branch in commit 3a6cef0 which can't be cleanly applied to the version that 2LS is currently using. With no current plans to migrate to C++-20, we can ignore the warning for now.
1 parent c572aa1 commit 41bba2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CPROVER_DIR = ../../lib/cbmc
33
# Variables you may want to override
44

55
# Enable warnings
6-
CXXFLAGS += -Wall -Werror -Wno-long-long -Wno-sign-compare -Wno-parentheses -Wno-strict-aliasing -pedantic
6+
CXXFLAGS += -Wall -Werror -Wno-long-long -Wno-sign-compare -Wno-parentheses -Wno-c++20-compat -Wno-strict-aliasing -pedantic
77

88
# Select optimisation or debug
99
#CXXFLAGS += -O2

0 commit comments

Comments
 (0)