bytebeat_compiler.py: add flag -Wno-dangling-else
This commit is contained in:
parent
df91110d80
commit
e0ac4c3bf9
@ -27,7 +27,7 @@ PATHS["path_to_fwrite_le"] = PATHS["src_dir"] + PATHS["fwrite_le"]
|
|||||||
# Default parameters
|
# Default parameters
|
||||||
DEFAULT_PARAMETERS = {
|
DEFAULT_PARAMETERS = {
|
||||||
"CC": "gcc",
|
"CC": "gcc",
|
||||||
"CFLAGS": "-Ofast -Wall -Wextra -Wpedantic -Wno-unused-variable -Wno-unused-but-set-variable",
|
"CFLAGS": "-Ofast -Wall -Wextra -Wpedantic -Wno-unused-variable -Wno-unused-but-set-variable -Wno-dangling-else",
|
||||||
"INPUT_FILE": PATHS["substitute"],
|
"INPUT_FILE": PATHS["substitute"],
|
||||||
"OUTPUT_FILE": PATHS["output"]
|
"OUTPUT_FILE": PATHS["output"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user