Bug 306472

Summary: Krusader fails to build when using clang as compiler
Product: [Applications] krusader Reporter: Jekyll Wu <adaptee>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: jan_lepper, krusader-bugs-null
Priority: NOR    
Version: 2.4.0-beta1 "Migration"   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.0-beta2
Sentry Crash Report:

Description Jekyll Wu 2012-09-09 05:14:33 UTC
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
Comment 1 Jekyll Wu 2012-10-12 18:20:26 UTC
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