Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors.cpp test is failing silently on gcc #92

Open
dsharlet opened this issue Mar 9, 2023 · 0 comments
Open

errors.cpp test is failing silently on gcc #92

dsharlet opened this issue Mar 9, 2023 · 0 comments

Comments

@dsharlet
Copy link
Owner

dsharlet commented Mar 9, 2023

The errors.cpp test is currently not passing on gcc, but it "passes" because -ferror-limit=0 is an unrecognized command line option on gcc, so it doesn't compile anything and the grep statement doesn't have a problem with it. This is annoying:

  • gcc has a similar option -fmax-errors=0, but clang does not support that one. So we would need to add each option to each compiler depending on some kind of version check.
  • This parameter is necessary because clang at least stops reporting errors part way through the test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant