Compile error

Andras Mantia amantia at kdewebdev.org
Mon Jul 17 11:45:11 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.

Exactly, I have an x86_64 system. I will try as soon as I get home.

Andras




More information about the KDevelop-devel mailing list