[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 281129] New: build failure - Overloading ambiguity in
From:       tropikhajma <tropikhajma () gmail ! com>
Date:       2011-08-31 19:04:01
Message-ID: bug-281129-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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@kde.org
        ReportedBy: tropikhajma@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic