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

make: *** [Release/obj.target/protobuf_for_node/protobuf_for_node.o] Error #53

Open
DamonYanglong opened this issue Mar 28, 2016 · 1 comment

Comments

@DamonYanglong
Copy link

14 errors generated.
make: *** [Release/obj.target/protobuf_for_node/protobuf_for_node.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.4.0
gyp ERR! command "/usr/local/Cellar/node/5.6.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /data1/nodejs/Firehose/node_modules/protobuf
gyp ERR! node -v v5.8.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
/data1/nodejs/Firehose
├── [email protected]
├── [email protected]
└── [email protected]

npm WARN Failed to parse json
npm WARN No data, empty input at 1:1
npm WARN
npm WARN ^
npm WARN File: /data1/nodejs/Firehose/package.json
npm WARN Firehose No description
npm WARN Firehose No repository field.
npm WARN Firehose No README data
npm WARN Firehose No license field.
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/5.6.0/bin/node" "/usr/local/bin/npm" "install" "protobuf"
npm ERR! node v5.8.0
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the protobuf package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs protobuf
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls protobuf
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /data1/nodejs/Firehose/npm-debug.log

why?

@DamonYanglong
Copy link
Author

longfei5deMacBook-Pro:Firehose longfei5$ npm install protobuf

[email protected] install /data1/nodejs/Firehose/node_modules/node-protobuf
node-gyp rebuild

CXX(target) Release/obj.target/protobuf/src/init.o
CXX(target) Release/obj.target/protobuf/src/native.o
CXX(target) Release/obj.target/protobuf/src/parse.o
CXX(target) Release/obj.target/protobuf/src/serialize.o
SOLINK_MODULE(target) Release/protobuf.node

[email protected] install /data1/nodejs/Firehose/node_modules/protobuf
node-gyp rebuild

protobuf/protobuf_full_do_not_use.target.mk:163: warning: overriding commands for target Release/protobuf_full_do_not_use.a' protobuf/protobuf_full_do_not_use.host.mk:177: warning: ignoring old commands for targetRelease/protobuf_full_do_not_use.a'
protobuf/protobuf_lite.target.mk:157: warning: overriding commands for target Release/protobuf_lite.a' protobuf/protobuf_lite.host.mk:171: warning: ignoring old commands for targetRelease/protobuf_lite.a'
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/strutil.o
../protobuf/src/google/protobuf/stubs/strutil.cc:687:21: warning: unused function 'PlaceNum' [-Wunused-function]
static inline char* PlaceNum(char* p, int num, char prev_sep) {
^
In file included from ../protobuf/src/google/protobuf/stubs/strutil.cc:33:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.cc:1013:39: warning: unused typedef 'DBL_DIG_is_too_big' [-Wunused-local-typedef]
GOOGLE_COMPILE_ASSERT(DBL_DIG < 20, DBL_DIG_is_too_big);
^
../protobuf/src/google/protobuf/stubs/strutil.cc:1068:39: warning: unused typedef 'FLT_DIG_is_too_big' [-Wunused-local-typedef]
GOOGLE_COMPILE_ASSERT(FLT_DIG < 10, FLT_DIG_is_too_big);
^
5 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/substitute.o
../protobuf/src/google/protobuf/stubs/substitute.cc:129:3: warning: comparison of integers of different signs: 'long' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
GOOGLE_DCHECK_EQ(target - output->data(), output->size());
^ ~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:733:26: note: expanded from macro 'GOOGLE_DCHECK_EQ'
#define GOOGLE_DCHECK_EQ GOOGLE_CHECK_EQ
^
../protobuf/src/google/protobuf/stubs/common.h:709:48: note: expanded from macro 'GOOGLE_CHECK_EQ'
#define GOOGLE_CHECK_EQ(A, B) GOOGLE_CHECK((A) == (B))
~ ^ ~
../protobuf/src/google/protobuf/stubs/common.h:708:26: note: expanded from macro 'GOOGLE_CHECK'
GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
^~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:705:5: note: expanded from macro 'GOOGLE_LOG_IF'
!(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
^~~~~~~~~
In file included from ../protobuf/src/google/protobuf/stubs/substitute.cc:33:
In file included from ../protobuf/src/google/protobuf/stubs/substitute.h:36:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
3 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/structurally_valid.o
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/descriptor.o
../protobuf/src/google/protobuf/descriptor.cc:134:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < input.size(); i++) {
~ ^ ~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:492:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < allocations_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:516:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < symbols_after_checkpoint_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:519:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < files_after_checkpoint_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:522:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < extensions_after_checkpoint_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:536:50: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = allocations_before_checkpoint_; i < allocations_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:989:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < numbers.size(); ++i) {
~ ^ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:1498:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:1534:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < all_options.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2361:20: warning: comparison of integers of different signs: 'int' and 'const size_type'
(aka 'const unsigned long') [-Wsign-compare]
if (name_dot_pos == string::npos) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2607:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2623:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2728:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < tables_->pending_files_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2731:16: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (; i < tables_->pending_files_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:3650:11: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code;
comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
&file->options() != NULL &&
^~~~~~~~~~~~~~~ ~~~~
../protobuf/src/google/protobuf/descriptor.h:1274:1: note: 'options' returns a reference
PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FileDescriptor, FileOptions);
^
../protobuf/src/google/protobuf/descriptor.h:1185:29: note: expanded from macro 'PROTOBUF_DEFINE_OPTIONS_ACCESSOR'
inline const TYPE& CLASS::options() const { return options; }
^
../protobuf/src/google/protobuf/descriptor.cc:211:23: warning: unused variable 'bucket_size' [-Wunused-const-variable]
static const size_t bucket_size = 4;
^
../protobuf/src/google/protobuf/descriptor.cc:212:23: warning: unused variable 'min_buckets' [-Wunused-const-variable]
static const size_t min_buckets = 8;
^
In file included from ../protobuf/src/google/protobuf/descriptor.cc:54:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
19 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/descriptor.pb.o
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/descriptor_database.o
../protobuf/src/google/protobuf/descriptor_database.cc:303:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < files_to_delete_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:441:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < extensions.size(); ++i) {
~ ^ ~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:464:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:475:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:498:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:525:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:237:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:93:8: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<const google::protobuf::FileDescriptorProto *>::ValidateSymbolName' requested here
if (!ValidateSymbolName(name)) {
^
../protobuf/src/google/protobuf/descriptor_database.cc:68:10: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<const google::protobuf::FileDescriptorProto *>::AddSymbol' requested here
if (!AddSymbol(path + file.message_type(i).name(), value)) return false;
^
../protobuf/src/google/protobuf/descriptor_database.cc:264:17: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<const google::protobuf::FileDescriptorProto *>::AddFile' requested here
return index_.AddFile(file, file);
^
../protobuf/src/google/protobuf/descriptor_database.cc:237:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:93:8: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<const void *, int> >::ValidateSymbolName' requested here
if (!ValidateSymbolName(name)) {
^
../protobuf/src/google/protobuf/descriptor_database.cc:68:10: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<const void *, int> >::AddSymbol' requested here
if (!AddSymbol(path + file.message_type(i).name(), value)) return false;
^
../protobuf/src/google/protobuf/descriptor_database.cc:312:19: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<const void *, int> >::AddFile' requested here
return index
.AddFile(file, make_pair(encoded_file_descriptor, size));
^
In file included from ../protobuf/src/google/protobuf/descriptor_database.cc:41:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
10 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/dynamic_message.o
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/extension_set_heavy.o
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/generated_message_reflection.o
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/message.o
In file included from ../protobuf/src/google/protobuf/message.cc:48:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
2 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/reflection_ops.o
../protobuf/src/google/protobuf/reflection_ops.cc:62:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:128:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:151:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:181:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:236:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
In file included from ../protobuf/src/google/protobuf/reflection_ops.cc:38:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
7 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/service.o
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/text_format.o
../protobuf/src/google/protobuf/text_format.cc:718:24: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'int'
[-Wsign-compare]
indent_.size() < initial_indent_level_ * 2) {
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/text_format.cc:946:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
In file included from ../protobuf/src/google/protobuf/text_format.cc:51:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
4 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/wire_format.o
../protobuf/src/google/protobuf/wire_format.cc:719:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/wire_format.cc:889:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/wire_format.cc:60:12: warning: unused function 'GetEnumNumber' [-Wunused-function]
inline int GetEnumNumber(const EnumValueDescriptor* descriptor) {
^
3 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/io/printer.o
In file included from ../protobuf/src/google/protobuf/io/printer.cc:38:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
2 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/io/tokenizer.o
../protobuf/src/google/protobuf/io/tokenizer.cc:593:15: warning: comparison of integers of different signs: 'int' and 'uint64'
(aka 'unsigned long long') [-Wsign-compare]
if (digit > max_value || result > (max_value - digit) / base) {
~~~~~ ^ ~~~~~~~~~
../protobuf/src/google/protobuf/io/tokenizer.cc:623:37: warning: comparison of integers of different signs: 'long' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
GOOGLE_LOG_IF(DFATAL, end - start != text.size() || start == '-')
~~~~~~~~~~~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:705:5: note: expanded from macro 'GOOGLE_LOG_IF'
!(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
^~~~~~~~~
In file included from ../protobuf/src/google/protobuf/io/tokenizer.cc:93:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
4 warnings generated.
CXX(host) Release/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/io/zero_copy_stream_impl.o
LIBTOOL-STATIC Release/obj.host/protobuf/protobuf_full_do_not_use.a
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/strutil.o
../protobuf/src/google/protobuf/stubs/strutil.cc:687:21: warning: unused function 'PlaceNum' [-Wunused-function]
static inline char
PlaceNum(char* p, int num, char prev_sep) {
^
In file included from ../protobuf/src/google/protobuf/stubs/strutil.cc:33:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.cc:1013:39: warning: unused typedef 'DBL_DIG_is_too_big' [-Wunused-local-typedef]
GOOGLE_COMPILE_ASSERT(DBL_DIG < 20, DBL_DIG_is_too_big);
^
../protobuf/src/google/protobuf/stubs/strutil.cc:1068:39: warning: unused typedef 'FLT_DIG_is_too_big' [-Wunused-local-typedef]
GOOGLE_COMPILE_ASSERT(FLT_DIG < 10, FLT_DIG_is_too_big);
^
5 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/substitute.o
../protobuf/src/google/protobuf/stubs/substitute.cc:129:3: warning: comparison of integers of different signs: 'long' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
GOOGLE_DCHECK_EQ(target - output->data(), output->size());
^ ~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:733:26: note: expanded from macro 'GOOGLE_DCHECK_EQ'
#define GOOGLE_DCHECK_EQ GOOGLE_CHECK_EQ
^
../protobuf/src/google/protobuf/stubs/common.h:709:48: note: expanded from macro 'GOOGLE_CHECK_EQ'
#define GOOGLE_CHECK_EQ(A, B) GOOGLE_CHECK((A) == (B))
~ ^ ~
../protobuf/src/google/protobuf/stubs/common.h:708:26: note: expanded from macro 'GOOGLE_CHECK'
GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
^~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:705:5: note: expanded from macro 'GOOGLE_LOG_IF'
!(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
^~~~~~~~~
In file included from ../protobuf/src/google/protobuf/stubs/substitute.cc:33:
In file included from ../protobuf/src/google/protobuf/stubs/substitute.h:36:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
3 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/structurally_valid.o
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/descriptor.o
../protobuf/src/google/protobuf/descriptor.cc:134:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < input.size(); i++) {
~ ^ ~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:492:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < allocations_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:516:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < symbols_after_checkpoint_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:519:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < files_after_checkpoint_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:522:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < extensions_after_checkpoint_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:536:50: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = allocations_before_checkpoint_; i < allocations_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:989:25: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < numbers.size(); ++i) {
~ ^ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:1498:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:1534:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < all_options.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2361:20: warning: comparison of integers of different signs: 'int' and 'const size_type'
(aka 'const unsigned long') [-Wsign-compare]
if (name_dot_pos == string::npos) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2607:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2623:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2728:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < tables_->pending_files_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:2731:16: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (; i < tables_->pending_files_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor.cc:3650:11: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code;
comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
&file->options() != NULL &&
^~~~~~~~~~~~~~~ ~~~~
../protobuf/src/google/protobuf/descriptor.h:1274:1: note: 'options' returns a reference
PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FileDescriptor, FileOptions);
^
../protobuf/src/google/protobuf/descriptor.h:1185:29: note: expanded from macro 'PROTOBUF_DEFINE_OPTIONS_ACCESSOR'
inline const TYPE& CLASS::options() const { return options; }
^
../protobuf/src/google/protobuf/descriptor.cc:211:23: warning: unused variable 'bucket_size' [-Wunused-const-variable]
static const size_t bucket_size = 4;
^
../protobuf/src/google/protobuf/descriptor.cc:212:23: warning: unused variable 'min_buckets' [-Wunused-const-variable]
static const size_t min_buckets = 8;
^
In file included from ../protobuf/src/google/protobuf/descriptor.cc:54:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
19 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/descriptor.pb.o
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/descriptor_database.o
../protobuf/src/google/protobuf/descriptor_database.cc:303:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < files_to_delete_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:441:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < extensions.size(); ++i) {
~ ^ ~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:464:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:475:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:498:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:525:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < sources_.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:237:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:93:8: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<const google::protobuf::FileDescriptorProto *>::ValidateSymbolName' requested here
if (!ValidateSymbolName(name)) {
^
../protobuf/src/google/protobuf/descriptor_database.cc:68:10: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<const google::protobuf::FileDescriptorProto *>::AddSymbol' requested here
if (!AddSymbol(path + file.message_type(i).name(), value)) return false;
^
../protobuf/src/google/protobuf/descriptor_database.cc:264:17: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<const google::protobuf::FileDescriptorProto *>::AddFile' requested here
return index_.AddFile(file, file);
^
../protobuf/src/google/protobuf/descriptor_database.cc:237:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < name.size(); i++) {
~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/descriptor_database.cc:93:8: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<const void *, int> >::ValidateSymbolName' requested here
if (!ValidateSymbolName(name)) {
^
../protobuf/src/google/protobuf/descriptor_database.cc:68:10: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<const void *, int> >::AddSymbol' requested here
if (!AddSymbol(path + file.message_type(i).name(), value)) return false;
^
../protobuf/src/google/protobuf/descriptor_database.cc:312:19: note: in instantiation of member function
'google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<const void *, int> >::AddFile' requested here
return index
.AddFile(file, make_pair(encoded_file_descriptor, size));
^
In file included from ../protobuf/src/google/protobuf/descriptor_database.cc:41:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
10 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/dynamic_message.o
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/extension_set_heavy.o
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/generated_message_reflection.o
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/message.o
In file included from ../protobuf/src/google/protobuf/message.cc:48:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
2 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/reflection_ops.o
../protobuf/src/google/protobuf/reflection_ops.cc:62:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:128:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:151:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:181:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/reflection_ops.cc:236:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
In file included from ../protobuf/src/google/protobuf/reflection_ops.cc:38:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
7 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/service.o
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/text_format.o
../protobuf/src/google/protobuf/text_format.cc:718:24: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'int'
[-Wsign-compare]
indent_.size() < initial_indent_level_ * 2) {
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/text_format.cc:946:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
In file included from ../protobuf/src/google/protobuf/text_format.cc:51:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
4 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/wire_format.o
../protobuf/src/google/protobuf/wire_format.cc:719:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/wire_format.cc:889:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < fields.size(); i++) {
~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/wire_format.cc:60:12: warning: unused function 'GetEnumNumber' [-Wunused-function]
inline int GetEnumNumber(const EnumValueDescriptor* descriptor) {
^
3 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/io/printer.o
In file included from ../protobuf/src/google/protobuf/io/printer.cc:38:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
2 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/io/tokenizer.o
../protobuf/src/google/protobuf/io/tokenizer.cc:593:15: warning: comparison of integers of different signs: 'int' and 'uint64'
(aka 'unsigned long long') [-Wsign-compare]
if (digit > max_value || result > (max_value - digit) / base) {
~~~~~ ^ ~~~~~~~~~
../protobuf/src/google/protobuf/io/tokenizer.cc:623:37: warning: comparison of integers of different signs: 'long' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
GOOGLE_LOG_IF(DFATAL, end - start != text.size() || start == '-')
~~~~~~~~~~~ ^ ~~~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:705:5: note: expanded from macro 'GOOGLE_LOG_IF'
!(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
^~~~~~~~~
In file included from ../protobuf/src/google/protobuf/io/tokenizer.cc:93:
../protobuf/src/google/protobuf/stubs/strutil.h:307:25: warning: unused typedef 'sizeof_int64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_int64_is_not_sizeof_long_long);
^
../protobuf/src/google/protobuf/stubs/strutil.h:313:25: warning: unused typedef 'sizeof_uint64_is_not_sizeof_long_long' [-Wunused-local-typedef]
sizeof_uint64_is_not_sizeof_long_long);
^
4 warnings generated.
CXX(target) Release/obj.target/protobuf_full_do_not_use/protobuf/src/google/protobuf/io/zero_copy_stream_impl.o
LIBTOOL-STATIC Release/protobuf_full_do_not_use.a
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/unknown_field_set.o
../protobuf/src/google/protobuf/unknown_field_set.cc:56:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields
->size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/unknown_field_set.cc:72:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields_->size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
2 warnings generated.
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/stubs/common.o
../protobuf/src/google/protobuf/stubs/common.cc:359:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < internal::shutdown_functions->size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/stubs/once.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/extension_set.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/generated_message_util.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/message_lite.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/repeated_field.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/wire_format_lite.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/io/coded_stream.o
../protobuf/src/google/protobuf/io/coded_stream.cc:260:20: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
if (BufferSize() >= sizeof(value)) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/coded_stream.cc:277:20: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
if (BufferSize() >= sizeof(value)) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/coded_stream.cc:455:12: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
return NULL;
~~~~~~ ^~~~
false
../protobuf/src/google/protobuf/io/coded_stream.cc:597:32: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
bool use_fast = buffer_size
>= sizeof(value);
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/coded_stream.cc:612:32: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
bool use_fast = buffer_size
>= sizeof(value);
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
5 warnings generated.
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/io/zero_copy_stream.o
CXX(host) Release/obj.host/protobuf_lite/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.o
../protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:159:16: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
if (old_size < target_->capacity()) {
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:179:3: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
GOOGLE_CHECK_LE(count, target_->size());
^ ~~~~~ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:712:48: note: expanded from macro 'GOOGLE_CHECK_LE'
#define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
~ ^ ~
../protobuf/src/google/protobuf/stubs/common.h:708:26: note: expanded from macro 'GOOGLE_CHECK'
GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
^~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:705:5: note: expanded from macro 'GOOGLE_LOG_IF'
!(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
^~~~~~~~~
2 warnings generated.
LIBTOOL-STATIC Release/obj.host/protobuf/protobuf_lite.a
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/unknown_field_set.o
../protobuf/src/google/protobuf/unknown_field_set.cc:56:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields_->size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/unknown_field_set.cc:72:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < fields_->size(); i++) {
~ ^ ~~~~~~~~~~~~~~~
2 warnings generated.
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/stubs/common.o
../protobuf/src/google/protobuf/stubs/common.cc:359:21: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < internal::shutdown_functions->size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/stubs/once.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/extension_set.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/generated_message_util.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/message_lite.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/repeated_field.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/wire_format_lite.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/io/coded_stream.o
../protobuf/src/google/protobuf/io/coded_stream.cc:260:20: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
if (BufferSize() >= sizeof(value)) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/coded_stream.cc:277:20: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
if (BufferSize() >= sizeof(value)) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/coded_stream.cc:455:12: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
return NULL;
~~~~~~ ^~~~
false
../protobuf/src/google/protobuf/io/coded_stream.cc:597:32: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
bool use_fast = buffer_size
>= sizeof(value);
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/coded_stream.cc:612:32: warning: comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare]
bool use_fast = buffer_size
>= sizeof(value);
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
5 warnings generated.
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/io/zero_copy_stream.o
CXX(target) Release/obj.target/protobuf_lite/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.o
../protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:159:16: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
if (old_size < target_->capacity()) {
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:179:3: warning: comparison of integers of different signs: 'int' and 'size_type'
(aka 'unsigned long') [-Wsign-compare]
GOOGLE_CHECK_LE(count, target_->size());
^ ~~~~~ ~~~~~~~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:712:48: note: expanded from macro 'GOOGLE_CHECK_LE'
#define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
~ ^ ~
../protobuf/src/google/protobuf/stubs/common.h:708:26: note: expanded from macro 'GOOGLE_CHECK'
GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
^~~~~~~~~~
../protobuf/src/google/protobuf/stubs/common.h:705:5: note: expanded from macro 'GOOGLE_LOG_IF'
!(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
^~~~~~~~~
2 warnings generated.
LIBTOOL-STATIC Release/protobuf_lite.a
CXX(target) Release/obj.target/protobuf_for_node/protobuf_for_node.o
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:337:54: error: too many arguments to function call, expected at most 2, have 4
return v8::Signature::New(nan_isolate, receiver, argc, argv);
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:4674:3: note: 'New' declared here
static Local New(
^
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:409:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
v8::String::ExternalAsciiStringResource *resource) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ExternalStringResource
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:2207:19: note: 'ExternalStringResource' declared here
class V8_EXPORT ExternalStringResource
^
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:408:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Localv8::String NanNew(
^
../node_modules/nan/nan.h:403:36: note: previous definition is here
NAN_INLINE v8::Localv8::String NanNew(
^
../node_modules/nan/nan.h:427:3: error: redefinition of 'NanNew'
NanNew<v8::StringObject, v8::Handlev8::String >(
^
../node_modules/nan/nan.h:420:3: note: previous definition is here
NanNew<v8::StringObject, v8::Localv8::String >(
^
../node_modules/nan/nan.h:444:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:438:36: note: previous definition is here
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:456:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:450:36: note: previous definition is here
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:767:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:777:12: error: no matching function for call to 'New'
return node::Buffer::New(nan_isolate, data, size);
^~~~~~~~~~~~~~~~~
/Users/longfei5/.node-gyp/5.8.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t'
(aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate_ isolate,
^
/Users/longfei5/.node-gyp/5.8.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char ') would lose const
qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate
isolate,
^
/Users/longfei5/.node-gyp/5.8.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/Users/longfei5/.node-gyp/5.8.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:781:12: error: no viable conversion from returned value of type 'v8::MaybeLocalv8::Object' to function return type
'v8::Localv8::Object'
return node::Buffer::New(nan_isolate, size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion
from 'v8::MaybeLocalv8::Object' to 'const v8::Localv8::Object &' for 1st argument
class Local {
^
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion
from 'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object &&' for 1st argument
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local that)
^
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S ' against 'v8::MaybeLocalv8::Object'
V8_INLINE Local(S
that)
^
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:788:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(nan_isolate, data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:1728:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
if (str->IsExternalAscii()) {
^~~~~~~~~~~~~~~
IsExternal
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:2171:8: note: 'IsExternal' declared here
bool IsExternal() const;
^
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:1729:23: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
const v8::String::ExternalAsciiStringResource* ext;
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ExternalStringResource
/Users/longfei5/.node-gyp/5.8.0/include/node/v8.h:2207:19: note: 'ExternalStringResource' declared here
class V8_EXPORT ExternalStringResource
^
In file included from ../protobuf_for_node.cc:22:
../node_modules/nan/nan.h:1730:16: error: no member named 'GetExternalAsciiStringResource' in 'v8::String'
ext = str->GetExternalAsciiStringResource();
~~~ ^
../node_modules/nan/nan.h:1731:11: error: assigning to 'const char ' from incompatible type 'const uint16_t *' (aka 'const unsigned short *')
*data = ext->data();
^ ~~~~~~~~~~~
14 errors generated.
make: *
* [Release/obj.target/protobuf_for_node/protobuf_for_node.o] Error 1

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