xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Massari <amass...@datadirect.com>
Subject Re: PSVI header warnings
Date Wed, 23 Aug 2006 09:21:09 GMT
At 00.01 23/08/2006 -0500, Boyington, Shawn wrote:

>Hello,
>
>I'm getting the following warning when compiling my application:
>
>"/cts/xerces-c-src_2_7_0/include/xercesc/framework/psvi/PSVIElement.hpp", 
>line 154: Warning: xercesc_2_7::PSVIElement::reset hides the 
>function xercesc_2_7::PSVIItem::reset(const unsigned short*const, 
>const unsigned short*const, const 
>xercesc_2_7::PSVIItem::VALIDITY_STATE, const 
>xercesc_2_7::PSVIItem::ASSESSMENT_TYPE).
>
>"/cts/xerces-c-src_2_7_0/include/xercesc/framework/psvi/PSVIAttribute.hpp", 
>line 150: Warning: xercesc_2_7::PSVIAttribute::reset hides the 
>function xercesc_2_7::PSVIItem::reset(const unsigned short*const, 
>const unsigned short*const, const 
>xercesc_2_7::PSVIItem::VALIDITY_STATE, const 
>xercesc_2_7::PSVIItem::ASSESSMENT_TYPE).
>
>2 Warning(s) detected.
>
>Has anyone seen these Post Schema Validation warnings? I'm stumped 
>on how to get rid of them. I believe the abstractDOMParser.hpp pulls 
>in these headers.

Hi Shawn,
I never saw these messages, but you can safely ignore them; the 
reset() method in the base class is never called, so it doesn't 
matter if the derived classes hide it.
If you want to remove the warning, you can safely remove the 
PSVIItem::reset method.

Alberto 


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Mime
View raw message