[Kmymoney-devel] [Bug 312481] New: KMyMoney fails to compile with gmp-5.10

Michael kensington at gentoo.org
Wed Jan 2 09:05:08 UTC 2013


            Bug ID: 312481
           Summary: KMyMoney fails to compile with gmp-5.10
    Classification: Unclassified
           Product: kmymoney4
           Version: git master
          Hardware: Compiled Sources
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: kensington at gentoo.org

With gmp-5.10, KMyMoney fails to compile:

[ 22%] Building CXX object
/home/michael/dev/kde/kmymoney/kmymoney/mymoney/mymoneymoney.cpp: In member
function ‘QString MyMoneyMoney::formatMoney(const QString&, int, bool) const’:
/home/michael/dev/kde/kmymoney/kmymoney/mymoney/mymoneymoney.cpp:161:54: error:
conversion from ‘__gmp_expr<__mpq_struct [1],
__gmp_binary_expr<__gmp_expr<__mpq_struct [1],
__gmp_binary_expr<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>,
__gmp_expr<__mpq_struct [1], __mpq_struct [1]>, __gmp_binary_minus> >,
__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, __gmp_binary_multiplies> >’ to
non-scalar type ‘mpz_class {aka __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>}’ requested
make[2]: *** [kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/mymoneymoney.cpp.o]
Error 1
make[1]: *** [kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/all] Error 2
make: *** [all] Error 2

Master was at acd08ea8940a10a74de64b310d61cb660b2c7046.

Reproducible: Always

You are receiving this mail because:
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list