-
Notifications
You must be signed in to change notification settings - Fork 409
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
Fail to build tiflash due to unused variables #4771
Comments
Could you please remove |
Hi thanks for the response, I tried again but got exactly the same error message post above :( |
Maybe it is related to https://discourse.llvm.org/t/change-in-werror-behavior-in-clang-14/61677 |
@SchrodingerZhu PTAL |
FWIW, you can reproduce my toolchain by:
|
@junaire you can add these lines to suppress the warning from boost
like we suppress other warning in this file tiflash/dbms/src/Functions/GeoUtils.h Lines 25 to 46 in c6740e5
|
Well, now I got another error message....
|
Seems that you are building |
It works, thanks! |
@junaire maybe you can also file a PR to suppress the warning on |
Bug Report
1. Minimal reproduce step (Required)
clone the repo and try to build it.
2. What did you expect to see? (Required)
Success
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
main branch
Clang version:
The text was updated successfully, but these errors were encountered: