is it possible to force gcc to report errors, but keep compiling past them? Essentially I\'m trying to generate a list of errors in a .c file, but gcc always terminates at t
From gcc online doc:
-fmax-errors=n
Limits the maximum number of error messages to n, at which point GCC bails out rather than attempting to continue processing the source code. If n is 0 (the default), there is no limit on the number of error messages produced. If -Wfatal-errors is also specified, then -Wfatal-errors takes precedence over this option.