Repository navigation
Conversation
dongjoon-hyun
approved these changes
Feb 21, 2023
dongjoon-hyun
left a comment
Member
There was a problem hiding this comment.
+1, LGTM (Pending CIs).
| DIAGNOSTIC_IGNORE("-Wnested-anon-types") | ||
| DIAGNOSTIC_IGNORE("-Wreserved-id-macro") | ||
| DIAGNOSTIC_IGNORE("-Wshorten-64-to-32") | ||
| DIAGNOSTIC_IGNORE("-Wsuggest-destructor-override") |
Member
There was a problem hiding this comment.
During #1532, I found that this broke Clang 10 due to unknown warning group.
| set (WARN_FLAGS "${WARN_FLAGS} -Wno-reserved-identifier") | ||
| endif() | ||
| if (CMAKE_HOST_APPLE AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "12.0") | ||
| set (WARN_FLAGS "${WARN_FLAGS} -Wno-c++2a-compat -Wno-unknown-warning-option -Wno-suggest-override -Wno-suggest-destructor-override") |
Member
There was a problem hiding this comment.
We cannot enforce it in Clang 10. Let me recover this part.
dongjoon-hyun
added a commit
that referenced
this pull request
Jun 22, 2023
### What changes were proposed in this pull request? This PR aims to recover Clang 10 dev environment by stopping enforcing `override` keyword. - This is a partial revert of #1420 because we still keep the changed other code. - GitHub Action missed this. - `Clang on Ubuntu 20.04` job missed this because it uses Clang 11.0.0. - `Clang on MacOS 11` job missed this because it uses AppleClang 13.0.0. ### Why are the changes needed? During `Apache ORC 1.9.0 Preparation`, I found that this broke `ubuntu20_jdk=11_cc=clang` docker test due to the `unknown warning group` errors. - #1532 ### How was this patch tested? Pass the CI and do the manual testing with Docker environment. Closes #1545 from dongjoon-hyun/CLANG10. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun
added a commit
that referenced
this pull request
Jun 22, 2023
### What changes were proposed in this pull request? This PR aims to recover Clang 10 dev environment by stopping enforcing `override` keyword. - This is a partial revert of #1420 because we still keep the changed other code. - GitHub Action missed this. - `Clang on Ubuntu 20.04` job missed this because it uses Clang 11.0.0. - `Clang on MacOS 11` job missed this because it uses AppleClang 13.0.0. ### Why are the changes needed? During `Apache ORC 1.9.0 Preparation`, I found that this broke `ubuntu20_jdk=11_cc=clang` docker test due to the `unknown warning group` errors. - #1532 ### How was this patch tested? Pass the CI and do the manual testing with Docker environment. Closes #1545 from dongjoon-hyun/CLANG10. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 568d1d6) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
cxzl25
pushed a commit
to cxzl25/orc
that referenced
this pull request
Jan 11, 2024
### What changes were proposed in this pull request? Enforce adding `override` keyword to virtual functions. ### Why are the changes needed? A lot of warnings are related to missing override keyword in the Github Actions. ### How was this patch tested? Make sure all tests pass. Closes apache#1420 from wgtmac/ORC-1377. Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
cxzl25
pushed a commit
to cxzl25/orc
that referenced
this pull request
Jan 11, 2024
### What changes were proposed in this pull request? This PR aims to recover Clang 10 dev environment by stopping enforcing `override` keyword. - This is a partial revert of apache#1420 because we still keep the changed other code. - GitHub Action missed this. - `Clang on Ubuntu 20.04` job missed this because it uses Clang 11.0.0. - `Clang on MacOS 11` job missed this because it uses AppleClang 13.0.0. ### Why are the changes needed? During `Apache ORC 1.9.0 Preparation`, I found that this broke `ubuntu20_jdk=11_cc=clang` docker test due to the `unknown warning group` errors. - apache#1532 ### How was this patch tested? Pass the CI and do the manual testing with Docker environment. Closes apache#1545 from dongjoon-hyun/CLANG10. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Enforce adding
overridekeyword to virtual functions.Why are the changes needed?
A lot of warnings are related to missing override keyword in the Github Actions.
How was this patch tested?
Make sure all tests pass.