[ http://nagoya.apache.org/jira/browse/XERCESC-874?page=history ]
Alberto Massari updated XERCESC-874: ------------------------------------ Priority: Major > util/RefArrayVectorOf.hpp needs modification to obey the Standard > ----------------------------------------------------------------- > > Key: XERCESC-874 > URL: http://nagoya.apache.org/jira/browse/XERCESC-874 > Project: Xerces-C++ > Type: Bug > Components: Build > Versions: 2.2.0 > Environment: Operating System: Other > Platform: Other > Reporter: Jorma Laaksonen > Assignee: Xerces-C Developers Mailing List > > When the code is compiled with a Compaq/HP native cxx compiler with "-std > strict_ansi" flag, the compiler ends in an error because the members of > the BaseRefVectorOf<TElem> class are not visible in the derived > RefArrayVectorOf<TElem> class. This behavior seems to be correct with respect > to the C++ Standard and eg. g++ is too admissive in this situation. > Here is a working patch, which should not harm other environments: > *** RefArrayVectorOf.hpp.orig Fri Feb 7 02:53:58 2003 > --- RefArrayVectorOf.hpp Wed May 7 11:22:46 2003 > *************** > *** 11,16 **** > --- 11,20 ---- > */ > template <class TElem> class RefArrayVectorOf : public BaseRefVectorOf<TElem> > { > + using BaseRefVectorOf<TElem>::fAdoptedElems; > + using BaseRefVectorOf<TElem>::fCurCount; > + using BaseRefVectorOf<TElem>::fElemList; > + > public : > // ----------------------------------------------------------------------- > // Constructor -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]