[Bug 281129] New: build failure - Overloading ambiguity in mobile/lib/declarativeaconadiitem.cpp

tropikhajma tropikhajma at gmail.com
Wed Aug 31 20:04:01 BST 2011


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

           Summary: build failure - Overloading ambiguity in
                    mobile/lib/declarativeaconadiitem.cpp
           Product: kdepim
           Version: 4.7
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: libkdepim
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: tropikhajma at gmail.com


Created an attachment (id=63272)
 --> (http://bugs.kde.org/attachment.cgi?id=63272)
patch

Version:           4.7 (using KDE 4.7.0) 
OS:                Solaris

building kdepim 4.7.0 with the Solaris Studio 12.x compiler fails with
...
"/home/test/packages/BUILD/kdepim-4.7.0/mobile/lib/declarativeakonadiitem.cpp",
line 54: Error: Overloading ambiguity between "std::sqrt(double)" and
"std::sqrt(float)".

this can be resolved by using the qSqrt function instead - see patch

Reproducible: Always

Steps to Reproduce:
build kdepim

Actual Results:  
does not build

Expected Results:  
builds

-- 
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 Kdepim-bugs mailing list