From: Abdelrazak Younes Date: Thu, 05 Nov 2009 10:19:11 GMT Subject: Re: [QGIT PATCH/RFC] Message-ID: <4AF2A69F.1090802@lyx.org> In-Reply-To: <4AF2A538.7040303@lyx.org> Abdelrazak Younes wrote: > Marco Costalba wrote: >> >>> uint qHash(const ShaString& s) { // fast path, called 6-7 times per >>> revision >>> >>> >> >> Function: >> >> uint qHash(const QByteArray&); >> >> is already defined in the Qt Core libraries, so I have a link error >> with your patch. >> > > By the way, this function of yours is not used anywhere AFAICS. Ok, now I understand that this is used by QHash, sorry. I have gcc-4.4.1 so maybe that's the reason why linking works in my case. But I don't which version of the qhash() function does take precedence... Abdel.