[Bug 176693] New: kde4bindings fails to build from source on architectures where qreal != double

Michael Casadevall sonicmctails at gmail.com
Tue Dec 2 11:14:59 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=176693

           Summary: kde4bindings fails to build from source on architectures
                    where qreal != double
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: sonicmctails at gmail.com


Version:            (using Devel)
Compiler:          GCC 4.3 ARM architecture
OS:                Linux
Installed from:    Compiled sources

On architectures where Qt doesn't define qreal to double but a float (that is,
architectures lacking a FPU, the ARM architecture, and Windows CE), parts of
KDE fail to build from source, such as kde4bindings due to this mismatch since
a few APIs return QList <double> vs QList <qreal>, which then fail when other
code (such as kde4bindings), tries to QList<qreal> = *function call that
returns QList <double>*

majorTickMarks() and minorTickMarks() are two functions (from kplotaxis.h),
that currently have this issue, but their may be others that also do. Although
the obvious fix would be to change the QList<doubles> to QList<qreal>, this may
be the wrong way to fix it (there are cases where you want to return doubles
for instance). I"ll provide a patch once the proper fix is determined.


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



More information about the Unassigned-bugs mailing list