Clang complains : /mnt/personal/code/kde/krusader/krusader/Dialogs/checksumdlg.cpp:53:91: error: default arguments can only be specified for parameters in a function declaration const QString checksumFile, bool recursive, const QString& type = QString()); ^ ~~~~~~~~~ So here is the problematic part: typedef void PREPARE_PROC_FUNC(KProcess& proc, CS_Tool *self, const QStringList& files, const QString checksumFile, bool recursive, const QString& type = QString()); Reproducible: Always Steps to Reproduce: 1. install clang 3.1 2. use clang to build krusader
Git commit df0ff9a12f7fe601d5406776dfd3578ad0e5bc79 by Jekyll Wu. Committed on 12/10/2012 at 19:27. Pushed by jekyllwu into branch 'master'. fix bullding error when using clang as the compiler REVIEW: 106813 M +1 -1 krusader/Dialogs/checksumdlg.cpp http://commits.kde.org/krusader/df0ff9a12f7fe601d5406776dfd3578ad0e5bc79