Bug 294423

Summary: build error under Solaris [patch]
Product: [Applications] digikam Reporter: tropikhajma <tropikhajma>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, vivo75+kde
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In: 2.6.0
Attachments: patch

Description tropikhajma 2012-02-19 13:04:29 UTC
Created attachment 68929 [details]
patch

Version:           2.5.0 (using KDE 4.8.0) 
OS:                Solaris

trying to build digikam with the Solaris Studio 12.3 compiler fails with the below error.
I'm not sure what's the best way to fix that, but the attached patch worked for me.
The error is described at http://elvis.rowan.edu/studio11_doc/prod/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_ccfe.error_help.html (identundef)




Reproducible: Always

Steps to Reproduce:
try building digikam

Actual Results:  
...
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/core/libs/dimg/filters/icc/iccmanager.h", line 132: Error: The name displayProfile is unusable in a default parameter.

Expected Results:  
builds fine
Comment 1 Francesco Riosa 2012-02-20 15:09:39 UTC
Git commit bca2d5b164bdca340bcc5511128dba568268e7bd by Francesco Riosa.
Committed on 20/02/2012 at 16:04.
Pushed by riosa into branch 'master'.

fix build bug on Solaris platform

patch from tropikhajma tested, compile and run fine, for details see

M  +3    -3    libs/dimg/filters/icc/iccmanager.cpp
M  +1    -1    libs/dimg/filters/icc/iccmanager.h

http://commits.kde.org/digikam/bca2d5b164bdca340bcc5511128dba568268e7bd