You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boyington, Shawn" <sh...@eds.com> on 2006/08/23 07:01:28 UTC

PSVI header warnings

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.hp
p", 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.

Thank you,

Shawn


Thank you,

Shawn


RE: PSVI header warnings

Posted by "Boyington, Shawn" <sh...@eds.com>.
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


Re: PSVI header warnings

Posted by Alberto Massari <am...@datadirect.com>.
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