google::protobuf:Message base class warning

Bug #668864 reported by Billy Earney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Won't Fix
Low
Monty Taylor
7.0
Won't Fix
Low
Monty Taylor

Bug Description

I'm running fedora 13, and I'm experiencing the following warnings when I compile drizzle (is any one else experiencing this?):

  CXX drizzled/message/drizzled_message_libdrizzledmessage_la-event.pb.lo
drizzled/message/event.pb.cc: In copy constructor âdrizzled::message::Event::Event(const drizzled::message::Event&)â:
drizzled/message/event.pb.cc:129: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
  CXX drizzled/message/drizzled_message_libdrizzledmessage_la-engine.pb.lo
drizzled/message/engine.pb.cc: In copy constructor âdrizzled::message::Engine_Option::Engine_Option(const drizzled::message::Engine_Option&)â:
drizzled/message/engine.pb.cc:137: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/engine.pb.cc: In copy constructor âdrizzled::message::Engine::Engine(const drizzled::message::Engine&)â:
drizzled/message/engine.pb.cc:415: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
  CXX drizzled/message/drizzled_message_libdrizzledmessage_la-transaction.pb.lo
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::FieldMetadata::FieldMetadata(const drizzled::message::FieldMetadata&)â:
drizzled/message/transaction.pb.cc:745: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::TableMetadata::TableMetadata(const drizzled::message::TableMetadata&)â:
drizzled/message/transaction.pb.cc:1013: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::TransactionContext::TransactionContext(const drizzled::message::TransactionContext&)â:
drizzled/message/transaction.pb.cc:1347: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::InsertRecord::InsertRecord(const drizzled::message::InsertRecord&)â:
drizzled/message/transaction.pb.cc:1662: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::InsertHeader::InsertHeader(const drizzled::message::InsertHeader&)â:
drizzled/message/transaction.pb.cc:1898: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::InsertData::InsertData(const drizzled::message::InsertData&)â:
drizzled/message/transaction.pb.cc:2152: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::UpdateRecord::UpdateRecord(const drizzled::message::UpdateRecord&)â:
drizzled/message/transaction.pb.cc:2431: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::UpdateHeader::UpdateHeader(const drizzled::message::UpdateHeader&)â:
drizzled/message/transaction.pb.cc:2740: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::UpdateData::UpdateData(const drizzled::message::UpdateData&)â:
drizzled/message/transaction.pb.cc:3035: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::DeleteRecord::DeleteRecord(const drizzled::message::DeleteRecord&)â:
drizzled/message/transaction.pb.cc:3311: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::DeleteHeader::DeleteHeader(const drizzled::message::DeleteHeader&)â:
drizzled/message/transaction.pb.cc:3509: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::DeleteData::DeleteData(const drizzled::message::DeleteData&)â:
drizzled/message/transaction.pb.cc:3763: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::TruncateTableStatement::TruncateTableStatement(const drizzled::message::TruncateTableStatement&)â:
drizzled/message/transaction.pb.cc:4040: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::CreateSchemaStatement::CreateSchemaStatement(const drizzled::message::CreateSchemaStatement&)â:
drizzled/message/transaction.pb.cc:4252: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::AlterSchemaStatement::AlterSchemaStatement(const drizzled::message::AlterSchemaStatement&)â:
drizzled/message/transaction.pb.cc:4466: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::DropSchemaStatement::DropSchemaStatement(const drizzled::message::DropSchemaStatement&)â:
drizzled/message/transaction.pb.cc:4725: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::CreateTableStatement::CreateTableStatement(const drizzled::message::CreateTableStatement&)â:
drizzled/message/transaction.pb.cc:5002: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::AlterTableStatement::AlterTableStatement(const drizzled::message::AlterTableStatement&)â:
drizzled/message/transaction.pb.cc:5216: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::DropTableStatement::DropTableStatement(const drizzled::message::DropTableStatement&)â:
drizzled/message/transaction.pb.cc:5474: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::SetVariableStatement::SetVariableStatement(const drizzled::message::SetVariableStatement&)â:
drizzled/message/transaction.pb.cc:5723: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::Statement::Statement(const drizzled::message::Statement&)â:
drizzled/message/transaction.pb.cc:6054: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]
drizzled/message/transaction.pb.cc: In copy constructor âdrizzled::message::Transaction::Transaction(const drizzled::message::Transaction&)â:
drizzled/message/transaction.pb.cc:7037: warning: base class âclass google::protobuf::Messageâ should be explicitly initialized in the copy constructor [-Wextra]

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

This is 'normal' since we do not error on these. Others may be better qualified to answer this but I believe it is a protobuf problem rather than something with Drizzle.

Revision history for this message
Billy Earney (billy-earney) wrote :

yes, I believe you are correct. I've done more research and found that others have this same problem cause the files are being generated by protoc. I have version 2.2.0. I'm guessing that is causing the issues.

Changed in drizzle:
status: New → Won't Fix
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Low
milestone: none → 2010-11-08
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.