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

fix: clang15 gives incorrect warnings #324

Merged
merged 1 commit into from
Jun 9, 2023
Merged

Conversation

4kangjc
Copy link
Collaborator

@4kangjc 4kangjc commented Jun 9, 2023

No description provided.

@ChuanqiXu9
Copy link
Collaborator

在文档里也说明下吧,因为用户可能也会遇到这个问题

@4kangjc
Copy link
Collaborator Author

4kangjc commented Jun 9, 2023

在文档里也说明下吧,因为用户可能也会遇到这个问题

OK.

copts = ASYNC_SIMPLE_COPTS + select({
"@platforms//os:windows": [],
# Clang gives incorrect warnings, See https://github.com/llvm/llvm-project/issues/56768
"//conditions:default": ["-Wno-unsequenced"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel 可以检查编译器版本吗?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没找到办法检查

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

编译器倒是可以检查

Copy link
Collaborator

@ChuanqiXu9 ChuanqiXu9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@ChuanqiXu9 ChuanqiXu9 merged commit ea0df92 into alibaba:main Jun 9, 2023
12 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants