Compile error on x86_64

Andrew Gorges droidix at gmail.com
Wed Feb 27 15:27:08 UTC 2008


Hello,

I keep running into this compile error:

/usr/kde/svn/include/kdevplatform/language/duchain/typesystem.h:457: error:
cast from 'const KDevelop::AbstractType*' to 'uint' loses precision

To get around it, I have been adding a cast to (ulong) before the (uint)
cast to make it compile.  My question: is this the proper way to fix this or
should their be a macro defined for both architectures and then used in this
case?

Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080227/0f8f0d27/attachment.html>


More information about the KDevelop-devel mailing list