Limit number of error messages from gcc/clang backend (#14852)
* Limit number of error messages from backend * Avoid duplication of -fmax-errors * make tests/misc/trunner.nim success
This commit is contained in:
parent
5bd2da3f64
commit
61a6098f2d
2 changed files with 14 additions and 7 deletions
5
tests/misc/msizeof5.nim.cfg
Normal file
5
tests/misc/msizeof5.nim.cfg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Do not limit number of error messages from backend compiler.
|
||||
gcc.options.always %= "${gcc.options.always} -fmax-errors=100"
|
||||
clang.options.always %= "${clang.options.always} -ferror-limit=100"
|
||||
gcc.cpp.options.always %= "${gcc.cpp.options.always} -fmax-errors=100"
|
||||
clang.cpp.options.always %= "${clang.cpp.options.always} -ferror-limit=100"
|
||||
Loading…
Add table
Add a link
Reference in a new issue