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

Use -Wno-missing-braces #109

Open
ezyang opened this issue Oct 19, 2017 · 0 comments
Open

Use -Wno-missing-braces #109

ezyang opened this issue Oct 19, 2017 · 0 comments

Comments

@ezyang
Copy link
Contributor

ezyang commented Oct 19, 2017

ATen uses {true, true, true} for boolean array literals, but unfortunately, Clang has a bug https://bugs.llvm.org/show_bug.cgi?id=21689 which makes it spuriously claim that more braces are needed as warning. We should turn off this warning.

I tried editing some obvious places in ATen's build system to apply this flag but it didn't stick. Maybe someone who is more familiar can fix it?

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