Bug in KDevelop-PG's location-stuff

Roberto Raggi roberto.raggi at gmail.com
Fri Jul 13 10:25:00 UTC 2007


Il giorno 13/lug/07, alle ore 12:11, Roberto Raggi ha scritto:

> Hi
>
> Il giorno 13/lug/07, alle ore 11:55, Andreas Pakulat ha scritto:
>> Thanks for updating the kdev-pg runtime, I looked briefly into the
>> replacement-change you sent earlier and figured that I'd have to do
>> this
>> later as it was beyond me :)
>
> sure no problem.
>
>>
>> Anyway, whats the error you get when building the qmake plugin?
>
> A compiler error in qmakelexer.cpp, I think it was a missing
> definition of Token_VALUE or something like that.

I think you fixed it, but I still can't compile the plug-in because  
you forgot to update the copy of the kdev-pg runtime in buildtools/ 
managers/qmake/parser/generated. btw why the kdev-pg runtime is not  
included in kdevelop? please don't tell me you plan to have N copies  
of the kdev-pg runtime for N language plug-in ;-)


c++ -c -pipe -g -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/ 
Users/roberto/Projects/qt-git/mkspecs/macx-g++ -I. -I/Users/roberto/ 
Projects/qt-git/lib/QtCore.framework/Versions/4/Headers -I/Users/ 
roberto/Projects/qt-git/include/QtCore -I/Users/roberto/Projects/qt- 
git/include/QtCore -I/Users/roberto/Projects/qt-git/lib/ 
QtGui.framework/Versions/4/Headers -I/Users/roberto/Projects/qt-git/ 
include/QtGui -I/Users/roberto/Projects/qt-git/include/QtGui -I/Users/ 
roberto/Projects/qt-git/include -I. -Igenerated -I. -I. -F/Users/ 
roberto/Projects/qt-git/lib -o qmake_parser.o generated/qmake_parser.cpp
generated/qmake_parser.cpp: In member function 'void  
QMake::parser::yy_expected_symbol(int, const char*)':
generated/qmake_parser.cpp:71: error: invalid conversion from  
'size_t*' to 'int*'
generated/qmake_parser.cpp:71: error:   initializing argument 2 of  
'void kdev_pg_token_stream::start_position(size_t, int*, int*)'
generated/qmake_parser.cpp:71: error: invalid conversion from  
'size_t*' to 'int*'
generated/qmake_parser.cpp:71: error:   initializing argument 3 of  
'void kdev_pg_token_stream::start_position(size_t, int*, int*)'
generated/qmake_parser.cpp:72: warning: unused variable 'tokenLength'
make: *** [qmake_parser.o] Error 1


ciao robe





More information about the KDevelop-devel mailing list