zhaopuming / quickfast

Automatically exported from code.google.com/p/quickfast
Other
1 stars 0 forks source link

Warning during build when library is used #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 lenny.sh...@gmail.com on 19 May 2011 at 12:56

GoogleCodeExporter commented 9 years ago
Not intentional.  I'll correct this next time i'm in the area.

Original comment by dale.wil...@gmail.com on 16 Jun 2011 at 3:20