You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2022/01/30 00:09:18 UTC
[thrift] branch master updated (eadbd9c -> 69b66a5)
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git.
from eadbd9c Fix travis issue caused by 5f16344311
new a0cd3cf THRIFT-5505 error: 'close_generator' overrides a member function but is not marked 'override' Client: netstd Patch: Jens Geyer
new 69b66a5 THRIFT-5506 C26495 variable "t_field::req_" not initialized, t_field.h:40 Compiler General Patch: Jens Geyer
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
compiler/cpp/src/thrift/generate/t_netstd_generator.h | 18 +++++++++---------
compiler/cpp/src/thrift/parse/t_field.h | 1 +
2 files changed, 10 insertions(+), 9 deletions(-)
[thrift] 02/02: THRIFT-5506 C26495 variable "t_field::req_" not initialized, t_field.h:40 Compiler General Patch: Jens Geyer
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
commit 69b66a51f2d86746b78300fdf43dd098d6eac7cb
Author: Jens Geyer <je...@apache.org>
AuthorDate: Sat Jan 29 18:42:01 2022 +0100
THRIFT-5506 C26495 variable "t_field::req_" not initialized, t_field.h:40
Compiler General
Patch: Jens Geyer
---
compiler/cpp/src/thrift/parse/t_field.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/compiler/cpp/src/thrift/parse/t_field.h b/compiler/cpp/src/thrift/parse/t_field.h
index 4be8770..f0a607d 100644
--- a/compiler/cpp/src/thrift/parse/t_field.h
+++ b/compiler/cpp/src/thrift/parse/t_field.h
@@ -41,6 +41,7 @@ public:
: type_(type),
name_(name),
key_(0),
+ req_(T_OPT_IN_REQ_OUT),
value_(nullptr),
xsd_optional_(false),
xsd_nillable_(false),
[thrift] 01/02: THRIFT-5505 error: 'close_generator' overrides a member function but is not marked 'override' Client: netstd Patch: Jens Geyer
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
commit a0cd3cfc848536210631f5f10c9019f81e45ab66
Author: Jens Geyer <je...@apache.org>
AuthorDate: Sat Jan 29 18:35:38 2022 +0100
THRIFT-5505 error: 'close_generator' overrides a member function but is not marked 'override'
Client: netstd
Patch: Jens Geyer
---
compiler/cpp/src/thrift/generate/t_netstd_generator.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/compiler/cpp/src/thrift/generate/t_netstd_generator.h b/compiler/cpp/src/thrift/generate/t_netstd_generator.h
index 31226f2..8896075 100644
--- a/compiler/cpp/src/thrift/generate/t_netstd_generator.h
+++ b/compiler/cpp/src/thrift/generate/t_netstd_generator.h
@@ -69,16 +69,16 @@ public:
map<string, int> get_keywords_list() const;
// overrides
- void init_generator();
- void close_generator();
- void generate_consts(vector<t_const*> consts);
+ void init_generator() override;
+ void close_generator() override;
+ void generate_consts(vector<t_const*> consts) override;
void generate_consts(ostream& out, vector<t_const*> consts);
- void generate_typedef(t_typedef* ttypedef);
- void generate_enum(t_enum* tenum);
+ void generate_typedef(t_typedef* ttypedef) override;
+ void generate_enum(t_enum* tenum) override;
void generate_enum(ostream& out, t_enum* tenum);
- void generate_struct(t_struct* tstruct);
- void generate_xception(t_struct* txception);
- void generate_service(t_service* tservice);
+ void generate_struct(t_struct* tstruct) override;
+ void generate_xception(t_struct* txception) override;
+ void generate_service(t_service* tservice) override;
// additional files
void generate_extensions_file();
@@ -148,7 +148,7 @@ public:
string func_name(t_function* tfunc, bool suppress_mapping = false);
string func_name(std::string fname, bool suppress_mapping = false);
string convert_to_pascal_case(const string& str);
- string get_enum_class_name(t_type* type);
+ string get_enum_class_name(t_type* type) override;
protected:
std::string autogen_comment() override {