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

What is the version of protobuffer #4

Open
densechen opened this issue Dec 25, 2019 · 2 comments
Open

What is the version of protobuffer #4

densechen opened this issue Dec 25, 2019 · 2 comments

Comments

@densechen
Copy link

Hi, I am very interested in your research. Could you please tell me which version of protobuffer you have used?
I have tried an old version, but failed.
Best
Chen

@densechen
Copy link
Author

usr/local/include/google/protobuf/metadata_lite.h:160:52: error: no matching function for call to 'google::protobuf::Arena::Create(google::protobuf::Arena*&)'

@densechen
Copy link
Author

In file included from /usr/local/include/google/protobuf/map_entry_lite.h:38:0,
from /usr/local/include/google/protobuf/generated_message_table_driven.h:35,
from /home/root/symseg/build/proto/reflectional_symmetry_detection_example_options.pb.h:26,
from /home/root/symseg/build/proto/reflectional_symmetry_detection_example_options.pb.cc:4:
/usr/local/include/google/protobuf/parse_context.h: At global scope:
/usr/local/include/google/protobuf/parse_context.h:227:10: error: 'uintptr_t' in namespace 'std' does not name a type
std::uintptr_t aliasing = 0;
^
/usr/local/include/google/protobuf/parse_context.h:172:34: error: 'nullptr' was not declared in this scope
const DescriptorPool* pool = nullptr;
^
/usr/local/include/google/protobuf/parse_context.h:173:31: error: 'nullptr' was not declared in this scope
MessageFactory* factory = nullptr;
^
/usr/local/include/google/protobuf/parse_context.h: In member function 'bool google::protobuf::internal::ParseContext::ParseRange(google::protobuf::StringPiece, int*)':
/usr/local/include/google/protobuf/parse_context.h:272:10: error: 'res' does not name a type
auto res = ParseRangeWithLimit(chunk.begin() + overrun, chunk.end());
^
/usr/local/include/google/protobuf/parse_context.h:273:15: error: 'res' was not declared in this scope
overrun = res.second;
^
/usr/local/include/google/protobuf/parse_context.h: In member function 'bool google::protobuf::internal::ParseContext::ParseExactRange(google::protobuf::internal::ParseClosure, const char*, const char*)':
/usr/local/include/google/protobuf/parse_context.h:297:10: error: 'old_limit' does not name a type
auto old_limit = limit_;
^
/usr/local/include/google/protobuf/parse_context.h:299:10: error: 'ptr' does not name a type
auto ptr = begin;
^
/usr/local/include/google/protobuf/parse_context.h:300:9: error: 'ptr' was not declared in this scope
if (ptr < end) ptr = parser(ptr, end, this);
^
/usr/local/include/google/protobuf/parse_context.h:301:9: error: 'ptr' was not declared in this scope
if (ptr != end || EndedOnTag()) return false;
^
/usr/local/include/google/protobuf/parse_context.h:302:14: error: 'old_limit' was not declared in this scope
limit_ = old_limit;
^
/usr/local/include/google/protobuf/parse_context.h: In member function 'std::pair<const char*, bool> google::protobuf::internal::ParseContext::ParseGroup(google::protobuf::uint32, google::protobuf::internal::ParseClosure, const char*, const char*, int*)':
/usr/local/include/google/protobuf/parse_context.h:314:10: error: 'ptr' does not name a type
auto ptr = begin;
^
/usr/local/include/google/protobuf/parse_context.h:315:9: error: 'ptr' was not declared in this scope
if (ptr < end) ptr = parser(ptr, end, this);
^
/usr/local/include/google/protobuf/parse_context.h:316:9: error: 'ptr' was not declared in this scope
if (ptr == nullptr) return {};
^
/usr/local/include/google/protobuf/parse_context.h:316:16: error: 'nullptr' was not declared in this scope
if (ptr == nullptr) return {};
^
In file included from /usr/local/include/google/protobuf/arena_impl.h:40:0,
from /usr/local/include/google/protobuf/arena.h:51,
from /home/root/symseg/build/proto/reflectional_symmetry_detection_example_options.pb.h:24,
from /home/root/symseg/build/proto/reflectional_symmetry_detection_example_options.pb.cc:4:
/usr/local/include/google/protobuf/parse_context.h:320:7: error: 'ptr' was not declared in this scope
GOOGLE_DCHECK(ptr >= end);
^
In file included from /usr/local/include/google/protobuf/map_entry_lite.h:38:0,
from /usr/local/include/google/protobuf/generated_message_table_driven.h:35,
from /home/root/symseg/build/proto/reflectional_symmetry_detection_example_options.pb.h:26,
from /home/root/symseg/build/proto/reflectional_symmetry_detection_example_options.pb.cc:4:
/usr/local/include/google/protobuf/parse_context.h:321:15: error: 'ptr' was not declared in this scope
return {ptr, true};
^
/usr/local/include/google/protobuf/parse_context.h:321:24: error: could not convert '{, true}' from '' to 'std::pair<const char*, bool>'
return {ptr, true};
^
/usr/local/include/google/protobuf/parse_context.h:331:13: error: 'ptr' was not declared in this scope
return {ptr, false};
^
/usr/local/include/google/protobuf/parse_context.h:331:23: error: could not convert '{, false}' from '' to 'std::pair<const char*, bool>'
return {ptr, false};
^
/usr/local/include/google/protobuf/parse_context.h: In member function 'const char* google::protobuf::internal::ParseContext::StoreAndTailCall(const char*, const char*, google::protobuf::internal::ParseClosure, google::protobuf::internal::ParseClosure, google::protobuf::int32)':
/usr/local/include/google/protobuf/parse_context.h:355:42: error: 'nullptr' was not declared in this scope
if (safe_new_limit > INT_MAX) return nullptr;
^
/usr/local/include/google/protobuf/parse_context.h:360:62: error: 'nullptr' was not declared in this scope
if (PROTOBUF_PREDICT_FALSE(new_limit > limit_)) return nullptr;
^
/usr/local/include/google/protobuf/parse_context.h:367:46: error: 'nullptr' was not declared in this scope
if (!Push(current_parser, delta)) return nullptr;
^
/usr/local/include/google/protobuf/parse_context.h: At global scope:
/usr/local/include/google/protobuf/parse_context.h:595:3: error: 'constexpr' does not name a type
constexpr static int kSlopBytes = ParseContext::kSlopBytes;
^
/usr/local/include/google/protobuf/parse_context.h:595:3: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
/usr/local/include/google/protobuf/parse_context.h:603:20: error: 'kSlopBytes' was not declared in this scope
char buffer_[2 * kSlopBytes] = {};
^
/usr/local/include/google/protobuf/parse_context.h:600:18: error: 'kSlopBytes' was not declared in this scope
int overrun_ = kSlopBytes;
^
/usr/local/include/google/protobuf/parse_context.h: In member function 'bool google::protobuf::internal::EpsCopyParser<ensure_non_negative_skip>::Parse(google::protobuf::StringPiece)':
/usr/local/include/google/protobuf/parse_context.h:546:10: error: 'size' does not name a type
auto size = range.size();
^
/usr/local/include/google/protobuf/parse_context.h:547:9: error: 'size' was not declared in this scope
if (size > kSlopBytes) {
^
/usr/local/include/google/protobuf/parse_context.h:547:16: error: 'kSlopBytes' was not declared in this scope
if (size > kSlopBytes) {
^
/usr/local/include/google/protobuf/parse_context.h:556:21: error: 'buffer_' was not declared in this scope
std::memcpy(buffer_ + kSlopBytes, range.begin(), kSlopBytes);
^

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

No branches or pull requests

1 participant