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 "Peter A. Volchek" <Pe...@ti.com.od.ua> on 2001/06/01 18:00:37 UTC

some more VC5 errors

F:\code\Xerces\src\ibmxml\xerces\src\util/RefHashTableOf.c(113) : error
C2955: 'hash' : use of class template requires template argument list

template <class TVal> RefHashTableOf<TVal>::RefHashTableOf(const unsigned
int modulus, const bool adoptElems, HashBase* hash)
 : fAdoptedElems(adoptElems), fBucketList(0), fHashModulus(modulus)
{
 initialize(modulus);
 // set hasher
 fHash = hash;
}


The "hash" argument clashes with STL hash declaration.
I agree that VC5 is a stupid compiler, but, wouldn't it be difficult for you
just to change the parameter to smth. else, for example _hash, or hashBase ?

Peter A. Volchek
Software Engineer
Metis International, Inc.
PeterV@ti.com.od.ua



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