dbusxml2cpp Bug with CRLF line endings

Andre Heinecke andre.heinecke at gmail.com
Sun Mar 13 15:16:11 CET 2011


Hello,
I've just wanted to put this information on the mailing list as it was
only discussed in IRC. And i do not want to see
more developers to stumble into this problem. ( Mainly occuring while
compiling dbusmenu-qt )

There is a bug in qdbusxml2cpp which causes it to create corrupted c++
files when it is run on xml files with crlf line endings.
http://bugreports.qt.nokia.com/browse/QTBUG-17634

To workaround this you can ensure that git checks out files with unix
line endings by setting
core.autocrlf=false

If you only use emerge git this should be no problem since emerge
already adds this to your config since revision r1222709
but if you get errors like:
In file included from
U:\build\kdesupport\dbusmenu-qt-0.6.4-20101204\work\mingw4-Release-gitHEAD\src\dbusmenuadaptor.cpp:73:
U:\build\kdesupport\dbusmenu-qt-0.6.4-20101204\work\mingw4-Release-gitHEAD\src\/dbusmenuadaptor.moc:58:
error: missing terminating " character
U:\build\kdesupport\dbusmenu-qt-0.6.4-20101204\work\mingw4-Release-gitHEAD\src\/dbusmenuadaptor.moc:59:
error: stray '\' in program
U:\build\kdesupport\dbusmenu-qt-0.6.4-20101204\work\mingw4-Release-gitHEAD\src\/dbusmenuadaptor.moc:59:3:
warning: missing terminating " character


Please check your git configuration ( git config --global --list )

Thanks to Volkmar Wörner for reporting this bug and informing us about it.

Regards,
Andre


More information about the Kde-windows mailing list