From a473c1f39a641cfed8be596cf0c2e2456836f0ed Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Fri, 5 Jan 2024 03:09:20 +0300 Subject: [PATCH] bytebeat_compiler.py: add `-Wno-parentheses` --- bytebeat_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index f3f22c1..a25625f 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -33,7 +33,7 @@ PATHS["fwrite_le"] = path_join(".", PATHS["fwrite_le"]) # Default parameters DEFAULT_PARAMETERS = { "CC": "gcc", - "CFLAGS": "-Ofast -Wall -Wextra -Wpedantic -Wno-unused-variable -Wno-unused-but-set-variable -Wno-dangling-else", + "CFLAGS": "-Ofast -Wall -Wextra -Wpedantic -Wno-unused-variable -Wno-unused-but-set-variable -Wno-dangling-else -Wno-parentheses", "INPUT_FILE": PATHS["substitute"], "OUTPUT_FILE": PATHS["output"] }