Bug 294423 - build error under Solaris [patch]
Summary: build error under Solaris [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 2.5.0
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 13:04 UTC by tropikhajma
Modified: 2017-08-19 21:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments
patch (1.28 KB, patch)
2012-02-19 13:04 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
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