quickfast icon indicating copy to clipboard operation
quickfast copied to clipboard

Warning during build when library is used

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

gcc build with -Wall produces following warning:

/misc/quickfast/QuickFAST_lnx_src_20100914/src/Codecs/SchemaElement.h:42: 
warning: ‘virtual void 
QuickFAST::Codecs::SchemaElement::finalize(QuickFAST::Codecs::TemplateRegistry&)
’ was hidden
/misc/quickfast/QuickFAST_lnx_src_20100914/src/Codecs/TemplateRegistry.h:63: 
warning:   by ‘virtual void QuickFAST::Codecs::TemplateRegistry::finalize()’

Was it the intent to hide TemplateRegistry::finalize() virtual method with the 
SchemaElement::finalize(QuickFAST::Codecs::TemplateRegistry&) virtual method or 
different signatures with the same name is an oversight?

Could you either name these function differently or provide "using 
TemplateRegistry::finalize;" operator in the SchemaElement class?

Original issue reported on code.google.com by [email protected] on 19 May 2011 at 12:56

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter

Not intentional.  I'll correct this next time i'm in the area.

Original comment by [email protected] on 16 Jun 2011 at 3:20

  • Changed state: Accepted

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter