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

recommend -Wno-deferred-type-errors in the README #17

Open
cdepillabout opened this issue Jul 6, 2019 · 0 comments
Open

recommend -Wno-deferred-type-errors in the README #17

cdepillabout opened this issue Jul 6, 2019 · 0 comments

Comments

@cdepillabout
Copy link

Right now the README recommends using -fdefer-type-errors, which is required for should-not-typecheck to work.

-fdefer-type-errors turns type errors into compile-time warnings. However, the user generally doesn't want to see these compile-time warnings. The flag -Wno-deferred-type-errors should also be used which silences these compile-time warnings.

The README should be updated to suggest using -Wno-deferred-type-errors in addition to -fdefer-type-errors.

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