Compile error

Hamish Rodda rodda at kde.org
Mon Jul 17 11:14:23 UTC 2006


Hi Andras,

On Monday 17 July 2006 20:41, Andras Mantia wrote:
> Hi,
>
>  kdevelop trunk fails to compile in the parser code. As Hamish is
> working on it, I better don't mess with the code. ;-)
> Here is the error message:
>
> Building CXX object
> languages/cpp/parser/CMakeFiles/kdevcppparser.dir/dubuilder.o
> /data/development/sources/kde-trunk/kdevelop/languages/cpp/parser/dubuilder
>.cpp: In member function ‘virtual void
> DUBuilder::visitNamespace(NamespaceAST*)’:
> /data/development/sources/kde-trunk/kdevelop/languages/cpp/parser/dubuilder
>.cpp:91: error: cast from ‘TokenStream*’ to ‘int’ loses precision
> make[2]: ***
> [languages/cpp/parser/CMakeFiles/kdevcppparser.dir/dubuilder.o] Error 1
> make[1]: *** [languages/cpp/parser/CMakeFiles/kdevcppparser.dir/all]
> Error 2

I guess this is because you're running an x86_64 system?  I committed a 
possible fix.

Cheers,
Hamish.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060717/28b91861/attachment.sig>


More information about the KDevelop-devel mailing list