You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setting -ferror-limit in .Rproj.user compilation-database/config.json file #19367
Is it possible to set -ferror-limit in the auto generated compilation-database/config.json file within .Rproj.user?
Every now and then when I write C code in RStudio I find that diagnostics stop working. Setting .rs.setClangDiagnostics(2) shows this generally seems to be due to clang stopping due to the number of errors reported:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Manually setting "-ferror-limit=0" in the generated config.json file gives me a temporary fix but doesn't stay. Is there any way I can configure that argument?
Activity
show every command-line diagnostic a compile_flags.txt adds
resolve relative paths in the less common clang path options too
keep libclang diagnostics going past clang's default error limit (#19393