Skip to content

Commit

Permalink
fix(config): 🔒️ limit max number of errors in gcc-related compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Jun 13, 2024
1 parent 203b93e commit e81e72e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-demo/executors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Example $flags: "-O2 -std=c99"
message = "使用 $(gcc --version)。"
exec_type = "binary"
compile = "gcc {...flags} -lm -Wall -o {out_file} {src_file}"
compile = "gcc {...flags} -fmax-errors=10 -lm -Wall -o {out_file} {src_file}"

[C.options.O2]
type = "bool"
Expand All @@ -24,7 +24,7 @@ C11 = "-std=c11"
["C++"]
# Example $flags: "-O2 -std=c++14"
exec_type = "binary"
compile = "g++ {...flags} -lm -Wall -o {out_file} {src_file}"
compile = "g++ {...flags} -fmax-errors=10 -lm -Wall -o {out_file} {src_file}"

["C++".options.O2]
type = "bool"
Expand Down

0 comments on commit e81e72e

Please sign in to comment.