← Back to team overview

linux-traipu team mailing list archive

[Bug 1302712] [NEW] Cannot compile drizzle error: comma at end of enumerator list

 

Public bug reported:

I can't compile drizzle. This I get:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I. -g -I/opt/protobuf/include -I/opt/openssl/include -I/opt/pcre/include -pthread -pipe -std=gnu++98 -O2 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -floop-parallelize-all -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wmissing-declarations -Wframe-larger-than=32768 -Wredundant-decls -pthread -MT drizzled/charset.lo -MD -MP -MF drizzled/.deps/charset.Tpo -c drizzled/charset.cc  -fPIC -DPIC -o drizzled/.libs/charset.o
In file included from ./drizzled/message/table.pb.h:9:0,
                 from ./drizzled/identifier/table.h:37,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
/opt/protobuf/include/google/protobuf/stubs/common.h: In constructor 'google::protobuf::FatalException::FatalException(const char*, int, const string&)':
/opt/protobuf/include/google/protobuf/stubs/common.h:1200:7: error: declaration of 'message' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/stubs/common.h:1200:7: error: declaration of 'line' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/stubs/common.h:1200:7: error: declaration of 'filename' shadows a member of 'this' [-Werror=shadow]
In file included from /opt/protobuf/include/google/protobuf/message.h:126:0,
                 from ./drizzled/message/table.pb.h:23,
                 from ./drizzled/identifier/table.h:37,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
/opt/protobuf/include/google/protobuf/descriptor.h: At global scope:
/opt/protobuf/include/google/protobuf/descriptor.h:352:29: error: comma at end of enumerator list [-Werror=edantic]
/opt/protobuf/include/google/protobuf/descriptor.h:371:29: error: comma at end of enumerator list [-Werror=edantic]
/opt/protobuf/include/google/protobuf/descriptor.h:382:28: error: comma at end of enumerator list [-Werror=edantic]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::FieldDescriptor* google::protobuf::Descriptor::field(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1331:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::Descriptor* google::protobuf::Descriptor::nested_type(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1332:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::EnumDescriptor* google::protobuf::Descriptor::enum_type(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1333:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::Descriptor::ExtensionRange* google::protobuf::Descriptor::extension_range(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1337:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::FieldDescriptor* google::protobuf::Descriptor::extension(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1339:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::EnumValueDescriptor* google::protobuf::EnumDescriptor::value(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1376:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::MethodDescriptor* google::protobuf::ServiceDescriptor::method(int) const':
/opt/protobuf/include/google/protobuf/descriptor.h:1390:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
In file included from ./drizzled/message/table.pb.h:24:0,
                 from ./drizzled/identifier/table.h:37,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
/opt/protobuf/include/google/protobuf/repeated_field.h: In constructor 'google::protobuf::RepeatedField<T>::RepeatedField(Iter, const Iter&)':
/opt/protobuf/include/google/protobuf/repeated_field.h:567:73: error: declaration of 'end' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/repeated_field.h:567:73: error: declaration of 'begin' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/repeated_field.h: In constructor 'google::protobuf::RepeatedPtrField<T>::RepeatedPtrField(Iter, const Iter&)':
/opt/protobuf/include/google/protobuf/repeated_field.h:1011:32: error: declaration of 'end' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/repeated_field.h:1011:32: error: declaration of 'begin' shadows a member of 'this' [-Werror=shadow]
In file included from ./drizzled/message/table.pb.h:25:0,
                 from ./drizzled/identifier/table.h:37,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
/opt/protobuf/include/google/protobuf/extension_set.h: In constructor 'google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType, field_type, is_packed>::ExtensionIdentifier(int, typename google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType, field_type, is_packed>::TypeTraits::ConstType)':
/opt/protobuf/include/google/protobuf/extension_set.h:848:7: error: declaration of 'default_value' shadows a member of 'this' [-Werror=shadow]
/opt/protobuf/include/google/protobuf/extension_set.h:848:7: error: declaration of 'number' shadows a member of 'this' [-Werror=shadow]
In file included from ./drizzled/message/table.pb.h:28:0,
                 from ./drizzled/identifier/table.h:37,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
./drizzled/message/engine.pb.h: In member function 'void drizzled::message::Engine_Option::set_allocated_name(std::string*)':
./drizzled/message/engine.pb.h:308:66: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/engine.pb.h: In member function 'void drizzled::message::Engine_Option::set_allocated_state(std::string*)':
./drizzled/message/engine.pb.h:378:68: error: declaration of 'state' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/engine.pb.h: In member function 'void drizzled::message::Engine::set_allocated_name(std::string*)':
./drizzled/message/engine.pb.h:452:59: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
In file included from ./drizzled/message/table.pb.h:29:0,
                 from ./drizzled/identifier/table.h:37,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
./drizzled/message/access.pb.h: In member function 'void drizzled::message::Access::set_allocated_definer(std::string*)':
./drizzled/message/access.pb.h:205:65: error: declaration of 'definer' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/access.pb.h: In member function 'void drizzled::message::Access::set_allocated_invoker(std::string*)':
./drizzled/message/access.pb.h:275:65: error: declaration of 'invoker' shadows a member of 'this' [-Werror=shadow]
In file included from ./drizzled/identifier/table.h:37:0,
                 from ./drizzled/identifier.h:46,
                 from ./drizzled/error.h:30,
                 from drizzled/charset.cc:19:
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_collation(std::string*)':
./drizzled/message/table.pb.h:2478:81: error: declaration of 'collation' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_data_file_name(std::string*)':
./drizzled/message/table.pb.h:2570:91: error: declaration of 'data_file_name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_index_file_name(std::string*)':
./drizzled/message/table.pb.h:2640:93: error: declaration of 'index_file_name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_comment(std::string*)':
./drizzled/message/table.pb.h:2820:77: error: declaration of 'comment' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_ForeignKeyConstraint::set_allocated_name(std::string*)':
./drizzled/message/table.pb.h:3004:79: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_ForeignKeyConstraint::set_allocated_references_table_name(std::string*)':
./drizzled/message/table.pb.h:3118:113: error: declaration of 'references_table_name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_default_value(std::string*)':
./drizzled/message/table.pb.h:3305:95: error: declaration of 'default_value' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_update_value(std::string*)':
./drizzled/message/table.pb.h:3375:93: error: declaration of 'update_value' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_default_bin_value(std::string*)':
./drizzled/message/table.pb.h:3467:103: error: declaration of 'default_bin_value' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_default_expression(std::string*)':
./drizzled/message/table.pb.h:3537:105: error: declaration of 'default_expression' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_update_expression(std::string*)':
./drizzled/message/table.pb.h:3607:103: error: declaration of 'update_expression' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_StringFieldOptions::set_allocated_collation(std::string*)':
./drizzled/message/table.pb.h:3953:93: error: declaration of 'collation' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_EnumerationValues::set_allocated_collation(std::string*)':
./drizzled/message/table.pb.h:4049:92: error: declaration of 'collation' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_name(std::string*)':
./drizzled/message/table.pb.h:4193:64: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_options(drizzled::message::Table_Field_FieldOptions*)':
./drizzled/message/table.pb.h:4257:102: error: declaration of 'options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_constraints(drizzled::message::Table_Field_FieldConstraints*)':
./drizzled/message/table.pb.h:4295:114: error: declaration of 'constraints' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_numeric_options(drizzled::message::Table_Field_NumericFieldOptions*)':
./drizzled/message/table.pb.h:4333:125: error: declaration of 'numeric_options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_string_options(drizzled::message::Table_Field_StringFieldOptions*)':
./drizzled/message/table.pb.h:4371:122: error: declaration of 'string_options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_time_options(drizzled::message::Table_Field_TimeFieldOptions*)':
./drizzled/message/table.pb.h:4409:116: error: declaration of 'time_options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_comment(std::string*)':
./drizzled/message/table.pb.h:4476:70: error: declaration of 'comment' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_enumeration_values(drizzled::message::Table_Field_EnumerationValues*)':
./drizzled/message/table.pb.h:4517:129: error: declaration of 'enumeration_values' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Index::set_allocated_name(std::string*)':
./drizzled/message/table.pb.h:4816:64: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Index::set_allocated_options(drizzled::message::Table_Index_Options*)':
./drizzled/message/table.pb.h:4971:97: error: declaration of 'options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Index::set_allocated_comment(std::string*)':
./drizzled/message/table.pb.h:5038:70: error: declaration of 'comment' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_name(std::string*)':
./drizzled/message/table.pb.h:5112:58: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_schema(std::string*)':
./drizzled/message/table.pb.h:5182:62: error: declaration of 'schema' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_engine(drizzled::message::Engine*)':
./drizzled/message/table.pb.h:5246:76: error: declaration of 'engine' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_options(drizzled::message::Table_TableOptions*)':
./drizzled/message/table.pb.h:5359:90: error: declaration of 'options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_catalog(std::string*)':
./drizzled/message/table.pb.h:5470:64: error: declaration of 'catalog' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_uuid(std::string*)':
./drizzled/message/table.pb.h:5540:58: error: declaration of 'uuid' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_replication_options(drizzled::message::ReplicationOptions*)':
./drizzled/message/table.pb.h:5603:114: error: declaration of 'replication_options' shadows a member of 'this' [-Werror=shadow]
./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_access(drizzled::message::Access*)':
./drizzled/message/table.pb.h:5641:76: error: declaration of 'access' shadows a member of 'this' [-Werror=shadow]
cc1plus: all warnings being treated as errors
make[2]: *** [drizzled/charset.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f drizzled/message/.deps/drizzled_message_libdrizzledmessage_la-transaction.pb.Tpo drizzled/message/.deps/drizzled_message_libdrizzledmessage_la-transaction.pb.Plo
make[2]: Leaving directory `/home/mimiko/src/drizzle'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mimiko/src/drizzle'
make: *** [all] Error 2

** Affects: drizzle
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/1302712

Title:
  Cannot compile drizzle error: comma at end of enumerator list

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  New

Bug description:
  I can't compile drizzle. This I get:

  libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I. -g -I/opt/protobuf/include -I/opt/openssl/include -I/opt/pcre/include -pthread -pipe -std=gnu++98 -O2 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -floop-parallelize-all -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wmissing-declarations -Wframe-larger-than=32768 -Wredundant-decls -pthread -MT drizzled/charset.lo -MD -MP -MF drizzled/.deps/charset.Tpo -c drizzled/charset.cc  -fPIC -DPIC -o drizzled/.libs/charset.o
  In file included from ./drizzled/message/table.pb.h:9:0,
                   from ./drizzled/identifier/table.h:37,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  /opt/protobuf/include/google/protobuf/stubs/common.h: In constructor 'google::protobuf::FatalException::FatalException(const char*, int, const string&)':
  /opt/protobuf/include/google/protobuf/stubs/common.h:1200:7: error: declaration of 'message' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/stubs/common.h:1200:7: error: declaration of 'line' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/stubs/common.h:1200:7: error: declaration of 'filename' shadows a member of 'this' [-Werror=shadow]
  In file included from /opt/protobuf/include/google/protobuf/message.h:126:0,
                   from ./drizzled/message/table.pb.h:23,
                   from ./drizzled/identifier/table.h:37,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  /opt/protobuf/include/google/protobuf/descriptor.h: At global scope:
  /opt/protobuf/include/google/protobuf/descriptor.h:352:29: error: comma at end of enumerator list [-Werror=edantic]
  /opt/protobuf/include/google/protobuf/descriptor.h:371:29: error: comma at end of enumerator list [-Werror=edantic]
  /opt/protobuf/include/google/protobuf/descriptor.h:382:28: error: comma at end of enumerator list [-Werror=edantic]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::FieldDescriptor* google::protobuf::Descriptor::field(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1331:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::Descriptor* google::protobuf::Descriptor::nested_type(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1332:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::EnumDescriptor* google::protobuf::Descriptor::enum_type(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1333:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::Descriptor::ExtensionRange* google::protobuf::Descriptor::extension_range(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1337:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::FieldDescriptor* google::protobuf::Descriptor::extension(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1339:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::EnumValueDescriptor* google::protobuf::EnumDescriptor::value(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1376:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/descriptor.h: In member function 'const google::protobuf::MethodDescriptor* google::protobuf::ServiceDescriptor::method(int) const':
  /opt/protobuf/include/google/protobuf/descriptor.h:1390:1: error: declaration of 'index' shadows a member of 'this' [-Werror=shadow]
  In file included from ./drizzled/message/table.pb.h:24:0,
                   from ./drizzled/identifier/table.h:37,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  /opt/protobuf/include/google/protobuf/repeated_field.h: In constructor 'google::protobuf::RepeatedField<T>::RepeatedField(Iter, const Iter&)':
  /opt/protobuf/include/google/protobuf/repeated_field.h:567:73: error: declaration of 'end' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/repeated_field.h:567:73: error: declaration of 'begin' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/repeated_field.h: In constructor 'google::protobuf::RepeatedPtrField<T>::RepeatedPtrField(Iter, const Iter&)':
  /opt/protobuf/include/google/protobuf/repeated_field.h:1011:32: error: declaration of 'end' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/repeated_field.h:1011:32: error: declaration of 'begin' shadows a member of 'this' [-Werror=shadow]
  In file included from ./drizzled/message/table.pb.h:25:0,
                   from ./drizzled/identifier/table.h:37,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  /opt/protobuf/include/google/protobuf/extension_set.h: In constructor 'google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType, field_type, is_packed>::ExtensionIdentifier(int, typename google::protobuf::internal::ExtensionIdentifier<ExtendeeType, TypeTraitsType, field_type, is_packed>::TypeTraits::ConstType)':
  /opt/protobuf/include/google/protobuf/extension_set.h:848:7: error: declaration of 'default_value' shadows a member of 'this' [-Werror=shadow]
  /opt/protobuf/include/google/protobuf/extension_set.h:848:7: error: declaration of 'number' shadows a member of 'this' [-Werror=shadow]
  In file included from ./drizzled/message/table.pb.h:28:0,
                   from ./drizzled/identifier/table.h:37,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  ./drizzled/message/engine.pb.h: In member function 'void drizzled::message::Engine_Option::set_allocated_name(std::string*)':
  ./drizzled/message/engine.pb.h:308:66: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/engine.pb.h: In member function 'void drizzled::message::Engine_Option::set_allocated_state(std::string*)':
  ./drizzled/message/engine.pb.h:378:68: error: declaration of 'state' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/engine.pb.h: In member function 'void drizzled::message::Engine::set_allocated_name(std::string*)':
  ./drizzled/message/engine.pb.h:452:59: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
  In file included from ./drizzled/message/table.pb.h:29:0,
                   from ./drizzled/identifier/table.h:37,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  ./drizzled/message/access.pb.h: In member function 'void drizzled::message::Access::set_allocated_definer(std::string*)':
  ./drizzled/message/access.pb.h:205:65: error: declaration of 'definer' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/access.pb.h: In member function 'void drizzled::message::Access::set_allocated_invoker(std::string*)':
  ./drizzled/message/access.pb.h:275:65: error: declaration of 'invoker' shadows a member of 'this' [-Werror=shadow]
  In file included from ./drizzled/identifier/table.h:37:0,
                   from ./drizzled/identifier.h:46,
                   from ./drizzled/error.h:30,
                   from drizzled/charset.cc:19:
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_collation(std::string*)':
  ./drizzled/message/table.pb.h:2478:81: error: declaration of 'collation' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_data_file_name(std::string*)':
  ./drizzled/message/table.pb.h:2570:91: error: declaration of 'data_file_name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_index_file_name(std::string*)':
  ./drizzled/message/table.pb.h:2640:93: error: declaration of 'index_file_name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_TableOptions::set_allocated_comment(std::string*)':
  ./drizzled/message/table.pb.h:2820:77: error: declaration of 'comment' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_ForeignKeyConstraint::set_allocated_name(std::string*)':
  ./drizzled/message/table.pb.h:3004:79: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_ForeignKeyConstraint::set_allocated_references_table_name(std::string*)':
  ./drizzled/message/table.pb.h:3118:113: error: declaration of 'references_table_name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_default_value(std::string*)':
  ./drizzled/message/table.pb.h:3305:95: error: declaration of 'default_value' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_update_value(std::string*)':
  ./drizzled/message/table.pb.h:3375:93: error: declaration of 'update_value' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_default_bin_value(std::string*)':
  ./drizzled/message/table.pb.h:3467:103: error: declaration of 'default_bin_value' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_default_expression(std::string*)':
  ./drizzled/message/table.pb.h:3537:105: error: declaration of 'default_expression' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_FieldOptions::set_allocated_update_expression(std::string*)':
  ./drizzled/message/table.pb.h:3607:103: error: declaration of 'update_expression' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_StringFieldOptions::set_allocated_collation(std::string*)':
  ./drizzled/message/table.pb.h:3953:93: error: declaration of 'collation' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field_EnumerationValues::set_allocated_collation(std::string*)':
  ./drizzled/message/table.pb.h:4049:92: error: declaration of 'collation' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_name(std::string*)':
  ./drizzled/message/table.pb.h:4193:64: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_options(drizzled::message::Table_Field_FieldOptions*)':
  ./drizzled/message/table.pb.h:4257:102: error: declaration of 'options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_constraints(drizzled::message::Table_Field_FieldConstraints*)':
  ./drizzled/message/table.pb.h:4295:114: error: declaration of 'constraints' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_numeric_options(drizzled::message::Table_Field_NumericFieldOptions*)':
  ./drizzled/message/table.pb.h:4333:125: error: declaration of 'numeric_options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_string_options(drizzled::message::Table_Field_StringFieldOptions*)':
  ./drizzled/message/table.pb.h:4371:122: error: declaration of 'string_options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_time_options(drizzled::message::Table_Field_TimeFieldOptions*)':
  ./drizzled/message/table.pb.h:4409:116: error: declaration of 'time_options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_comment(std::string*)':
  ./drizzled/message/table.pb.h:4476:70: error: declaration of 'comment' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Field::set_allocated_enumeration_values(drizzled::message::Table_Field_EnumerationValues*)':
  ./drizzled/message/table.pb.h:4517:129: error: declaration of 'enumeration_values' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Index::set_allocated_name(std::string*)':
  ./drizzled/message/table.pb.h:4816:64: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Index::set_allocated_options(drizzled::message::Table_Index_Options*)':
  ./drizzled/message/table.pb.h:4971:97: error: declaration of 'options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table_Index::set_allocated_comment(std::string*)':
  ./drizzled/message/table.pb.h:5038:70: error: declaration of 'comment' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_name(std::string*)':
  ./drizzled/message/table.pb.h:5112:58: error: declaration of 'name' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_schema(std::string*)':
  ./drizzled/message/table.pb.h:5182:62: error: declaration of 'schema' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_engine(drizzled::message::Engine*)':
  ./drizzled/message/table.pb.h:5246:76: error: declaration of 'engine' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_options(drizzled::message::Table_TableOptions*)':
  ./drizzled/message/table.pb.h:5359:90: error: declaration of 'options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_catalog(std::string*)':
  ./drizzled/message/table.pb.h:5470:64: error: declaration of 'catalog' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_uuid(std::string*)':
  ./drizzled/message/table.pb.h:5540:58: error: declaration of 'uuid' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_replication_options(drizzled::message::ReplicationOptions*)':
  ./drizzled/message/table.pb.h:5603:114: error: declaration of 'replication_options' shadows a member of 'this' [-Werror=shadow]
  ./drizzled/message/table.pb.h: In member function 'void drizzled::message::Table::set_allocated_access(drizzled::message::Access*)':
  ./drizzled/message/table.pb.h:5641:76: error: declaration of 'access' shadows a member of 'this' [-Werror=shadow]
  cc1plus: all warnings being treated as errors
  make[2]: *** [drizzled/charset.lo] Error 1
  make[2]: *** Waiting for unfinished jobs....
  mv -f drizzled/message/.deps/drizzled_message_libdrizzledmessage_la-transaction.pb.Tpo drizzled/message/.deps/drizzled_message_libdrizzledmessage_la-transaction.pb.Plo
  make[2]: Leaving directory `/home/mimiko/src/drizzle'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/mimiko/src/drizzle'
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/1302712/+subscriptions


Follow ups

References