Bug 294458 - Std namespace issue in FacesEngine [patch]
Summary: Std namespace issue in FacesEngine [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (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 23:19 UTC by tropikhajma
Modified: 2018-04-01 09:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0
Sentry Crash Report:


Attachments
patch (559 bytes, patch)
2012-02-19 23:19 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 23:19:54 UTC
Created attachment 68942 [details]
patch

Version:           2.5.0 (using KDE 4.8.0) 
OS:                Solaris

When building digikam 2.5 with the Solaris Studio 12.3 compiler, the below error is produced.
The attached patch made it go away for me. Also using qSqrt works.

Reproducible: Always

Steps to Reproduce:
try to build digikam

Actual Results:  
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/libkface/test/gui/faceitem.cpp", line 268: Error: The function "sqrt" must have a prototype.
"/opt/test2/packages/BUILD/digikam-2.5.0/i386/digikam-2.5.0/extra/libkface/test/gui/faceitem.cpp", line 268: Error: The function "sqrt" must have a prototype.


Expected Results:  
builds fine
Comment 1 caulier.gilles 2012-02-20 08:13:27 UTC
Git commit a3046c55adfa102ca134531f21ccf499cbd9143c by Gilles Caulier.
Committed on 20/02/2012 at 09:12.
Pushed by cgilles into branch 'master'.

fix compilation under Solaris

M  +1    -1    test/gui/faceitem.cpp

http://commits.kde.org/libkface/a3046c55adfa102ca134531f21ccf499cbd9143c