cpp support compile error at 64bit linux.

Andreas Pakulat apaku at gmx.de
Mon Jul 30 08:07:47 UTC 2007


On 30.07.07 02:32:46, dukju ahn wrote:
> At the uint qHash( const ExpressionEvaluationResult& key )
> at templatedeclaration.cpp, converting pointer into uint results in
> error at 64bit linux. I use "long" rather than "uint" and it compiles
> well.
> 
> Maybe we need some #ifdef stuff to figure out which architecture
> this computer is?

No, a long doesn't work properly because it will be cut down to a uint
as return value anyway. But you're right that this qHash function is
probably a bit too simple.

Andreas

-- 
You will soon meet a person who will play an important role in your life.




More information about the KDevelop-devel mailing list