[Digikam-devel] [Bug 294458] New: namespace issue in extra/libkface/test/gui/faceitem.cpp

tropikhajma tropikhajma at gmail.com
Sun Feb 19 23:19:55 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=294458

           Summary: namespace issue in
                    extra/libkface/test/gui/faceitem.cpp
           Product: digikam
           Version: 2.5.0
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Face Management
        AssignedTo: digikam-devel at kde.org
        ReportedBy: tropikhajma at gmail.com


Created an attachment (id=68942)
 --> (http://bugs.kde.org/attachment.cgi?id=68942)
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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list