Repository navigation
THRIFT-5659: lib: cpp: protocol: declare when methods override - #2687
Merged
Merged
Conversation
24 of 25 tasks
cfriedt
pushed a commit
to zephyrproject-rtos/gsoc-2022-thrift
that referenced
this pull request
Oct 1, 2022
apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
cfriedt
pushed a commit
to zephyrproject-rtos/gsoc-2022-thrift
that referenced
this pull request
Oct 1, 2022
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
cfriedt
pushed a commit
to zephyrproject-rtos/gsoc-2022-thrift
that referenced
this pull request
Oct 1, 2022
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
cfriedt
pushed a commit
to zephyrproject-rtos/gsoc-2022-thrift
that referenced
this pull request
Oct 1, 2022
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 apache/thrift#2689 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
cfriedt
pushed a commit
to zephyrproject-rtos/gsoc-2022-thrift
that referenced
this pull request
Oct 2, 2022
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 apache/thrift#2689 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
Contributor
Author
|
rebased |
cfriedt
force-pushed
the
add-missing-overrides
branch
from
October 22, 2022 16:10
c85442e to
aae5324
Compare
Member
|
The patch seems incomplete. TBinaryProtocol seems also affected by this. |
Contributor
Author
Thanks for pointing that out - I'll update shortly. |
cfriedt
force-pushed
the
add-missing-overrides
branch
from
October 26, 2022 11:29
aae5324 to
7f19224
Compare
This avoids compiler warnings about inconsistent use of `override`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
cfriedt
force-pushed
the
add-missing-overrides
branch
from
October 26, 2022 11:30
7f19224 to
7dec123
Compare
Contributor
Author
|
@Jens-G - should be ready |
cfriedt
pushed a commit
to zephyrproject-rtos/gsoc-2022-thrift
that referenced
this pull request
Oct 26, 2022
Some of the protocol implementations did not include the `override` annotation on certain virtual methods, which would cause a warning in gcc. Fixed upstream in the PR below and cherry-picked into `cfriedt/zephyr`. apache/thrift#2687 Signed-off-by: Chris Friedt <cfriedt@meta.com>
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.
This avoids compiler warnings about inconsistent use of
overridelike the one below.