Skip to content

Instantly share code, notes, and snippets.

@jmhodges
Created March 11, 2009 04:51
Show Gist options
  • Save jmhodges/77320 to your computer and use it in GitHub Desktop.
Save jmhodges/77320 to your computer and use it in GitHub Desktop.
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I../.. -I../.. -I/opt/local/include -Wall -Wextra -pedantic -Wundef -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wredundant-decls -Wno-long-long -Wstrict-aliasing -Wshadow -O3 -ggdb3 -std=gnu++98 -Wno-effc++ -MT binary_log.pb.lo -MD -MP -MF .deps/binary_log.pb.Tpo -c binary_log.pb.cc -fno-common -DPIC -o .libs/binary_log.pb.o
In file included from /opt/local/include/google/protobuf/unknown_field_set.h:44,
from /opt/local/include/google/protobuf/generated_message_reflection.h:44,
from binary_log.pb.h:21,
from binary_log.pb.cc:3:
/opt/local/include/google/protobuf/repeated_field.h: In constructor ‘google::protobuf::RepeatedPtrField<Element>::RepeatedPtrField(const google::protobuf::Message*) [with Element = google::protobuf::Message]’:
/opt/local/include/google/protobuf/repeated_field.h:481: warning: declaration of ‘prototype’ shadows a member of 'this'
/opt/local/include/google/protobuf/repeated_field.h: At global scope:
/opt/local/include/google/protobuf/repeated_field.h:563: warning: redundant redeclaration of ‘void google::protobuf::RepeatedPtrField<Element>::Clear() [with Element = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’ in same scope
/opt/local/include/google/protobuf/repeated_field.h:201: warning: previous declaration of ‘void google::protobuf::RepeatedPtrField<Element>::Clear() [with Element = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
In file included from /opt/local/include/google/protobuf/generated_message_reflection.h:44,
from binary_log.pb.h:21,
from binary_log.pb.cc:3:
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘google::protobuf::uint64 google::protobuf::UnknownField::varint(int) const’:
/opt/local/include/google/protobuf/unknown_field_set.h:270: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘google::protobuf::uint32 google::protobuf::UnknownField::fixed32(int) const’:
/opt/local/include/google/protobuf/unknown_field_set.h:273: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘google::protobuf::uint64 google::protobuf::UnknownField::fixed64(int) const’:
/opt/local/include/google/protobuf/unknown_field_set.h:276: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘const std::string& google::protobuf::UnknownField::length_delimited(int) const’:
/opt/local/include/google/protobuf/unknown_field_set.h:279: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘const google::protobuf::UnknownFieldSet& google::protobuf::UnknownField::group(int) const’:
/opt/local/include/google/protobuf/unknown_field_set.h:282: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘void google::protobuf::UnknownField::set_varint(int, google::protobuf::uint64)’:
/opt/local/include/google/protobuf/unknown_field_set.h:286: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘void google::protobuf::UnknownField::set_fixed32(int, google::protobuf::uint32)’:
/opt/local/include/google/protobuf/unknown_field_set.h:289: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘void google::protobuf::UnknownField::set_fixed64(int, google::protobuf::uint64)’:
/opt/local/include/google/protobuf/unknown_field_set.h:292: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘void google::protobuf::UnknownField::set_length_delimited(int, const std::string&)’:
/opt/local/include/google/protobuf/unknown_field_set.h:295: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘std::string* google::protobuf::UnknownField::mutable_length_delimited(int)’:
/opt/local/include/google/protobuf/unknown_field_set.h:298: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/unknown_field_set.h: In member function ‘google::protobuf::UnknownFieldSet* google::protobuf::UnknownField::mutable_group(int)’:
/opt/local/include/google/protobuf/unknown_field_set.h:301: warning: declaration of ‘index’ shadows a member of 'this'
In file included from binary_log.pb.h:21,
from binary_log.pb.cc:3:
/opt/local/include/google/protobuf/generated_message_reflection.h: At global scope:
/opt/local/include/google/protobuf/generated_message_reflection.h:386: warning: redundant redeclaration of ‘int google::protobuf::internal::StringSpaceUsedExcludingSelf(const std::string&)’ in same scope
/opt/local/include/google/protobuf/repeated_field.h:96: warning: previous declaration of ‘int google::protobuf::internal::StringSpaceUsedExcludingSelf(const std::string&)’
In file included from binary_log.pb.h:23,
from binary_log.pb.cc:3:
/opt/local/include/google/protobuf/extension_set.h: In constructor ‘google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType>::ExtensionIdentifier(int)’:
/opt/local/include/google/protobuf/extension_set.h:566: warning: declaration of ‘number’ shadows a member of 'this'
In file included from binary_log.pb.cc:4:
/opt/local/include/google/protobuf/descriptor.h: At global scope:
/opt/local/include/google/protobuf/descriptor.h:289: error: comma at end of enumerator list
/opt/local/include/google/protobuf/descriptor.h:308: error: comma at end of enumerator list
/opt/local/include/google/protobuf/descriptor.h:319: error: comma at end of enumerator list
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::FieldDescriptor* google::protobuf::Descriptor::field(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1073: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::Descriptor* google::protobuf::Descriptor::nested_type(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1074: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::EnumDescriptor* google::protobuf::Descriptor::enum_type(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1075: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::Descriptor::ExtensionRange* google::protobuf::Descriptor::extension_range(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1079: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::FieldDescriptor* google::protobuf::Descriptor::extension(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1081: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: At global scope:
/opt/local/include/google/protobuf/descriptor.h:1083: error: extra ‘;’
/opt/local/include/google/protobuf/descriptor.h:1098: error: extra ‘;’
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::EnumValueDescriptor* google::protobuf::EnumDescriptor::value(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1116: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: At global scope:
/opt/local/include/google/protobuf/descriptor.h:1118: error: extra ‘;’
/opt/local/include/google/protobuf/descriptor.h:1124: error: extra ‘;’
/opt/local/include/google/protobuf/descriptor.h: In member function ‘const google::protobuf::MethodDescriptor* google::protobuf::ServiceDescriptor::method(int) const’:
/opt/local/include/google/protobuf/descriptor.h:1130: warning: declaration of ‘index’ shadows a member of 'this'
/opt/local/include/google/protobuf/descriptor.h: At global scope:
/opt/local/include/google/protobuf/descriptor.h:1132: error: extra ‘;’
/opt/local/include/google/protobuf/descriptor.h:1139: error: extra ‘;’
/opt/local/include/google/protobuf/descriptor.h:1149: error: extra ‘;’
In file included from /opt/local/include/google/protobuf/wire_format_inl.h:40,
from binary_log.pb.cc:7:
/opt/local/include/google/protobuf/wire_format.h:160: error: comma at end of enumerator list
make[3]: *** [binary_log.pb.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment