From 830c5c8feae852d48acb3a328e010b08dcb4c60a Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 23 May 2025 08:14:43 +0200 Subject: [PATCH] suppress compiler warning about CYTHON_FALLTHROUGH --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1096d1ada..5cebde899 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ cpu_threads = multiprocessing.cpu_count() if multiprocessing and multiprocessing on_rtd = os.environ.get("READTHEDOCS") # Extra cflags for all extensions, usually just warnings we want to enable explicitly -cflags = ["-Wall", "-Wextra", "-Wpointer-arith"] +cflags = ["-Wall", "-Wextra", "-Wpointer-arith", "-Wno-unreachable-code-fallthrough"] compress_source = "src/borg/compress.pyx" crypto_ll_source = "src/borg/crypto/low_level.pyx"