When I try to use the -fmax-errors flag with clang ++, the following warning is displayed:
clang: warning: argument unused during compilation: '-fmax-errors=2'
What is the clan equivalent?
Equivalent clang flag -ferror-limit :
-ferror-limit
clang -ferror-limit=2 test.c