xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyington, Shawn" <shawn.boying...@eds.com>
Subject RE: PSVI header warnings
Date Wed, 23 Aug 2006 12:52:55 GMT
Thank you Alberto! I turned off warnings to get around it temporarily, I
will remove the reset function for long term.

Shawn 

-----Original Message-----
From: Alberto Massari [mailto:amassari@datadirect.com] 
Sent: Wednesday, August 23, 2006 4:21 AM
To: c-dev@xerces.apache.org
Subject: Re: PSVI header warnings

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.h
>pp", 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


---------------------------------------------------------------------
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