From b9596890c9159960d279422e423172e79192206c Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 13 Mar 2024 00:04:11 +0100 Subject: [PATCH] Disable a Clang warning Fixes `make develop` with Clang 17. The warning only triggers on the auto-generated `yynerrs_` in `src/asm/parser.cpp`, so it's not very useful to us right now. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0d71cc0..39207e25 100644 --- a/Makefile +++ b/Makefile @@ -204,7 +204,7 @@ develop: -Wstringop-overflow=4 -Wstrict-overflow=5 -Wundef -Wuninitialized -Wunused \ -Wshadow \ -Wformat=2 -Wformat-overflow=2 -Wformat-truncation=1 \ - -Wno-format-nonliteral -Wno-strict-overflow \ + -Wno-format-nonliteral -Wno-strict-overflow -Wno-unused-but-set-variable \ -Wno-type-limits -Wno-tautological-constant-out-of-range-compare \ -Wvla \ -D_GLIBCXX_ASSERTIONS \