Re: requesting help on fixing gcc-6 FTBFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> 1/ Labplot - https://bugzilla.redhat.com/show_bug.cgi?id=1307279
>
> I think the issue is here -
>
> /builddir/build/BUILD/labplot-kf5-2.1.0/src/backend/worksheet/TextLabel.
> cpp:538:38:
> error: call of overloaded 'abs(qreal)' is ambiguous
>    if (abs(point.x()-position.point.x())>20 &&
> qAbs(point.y()-position.point.y())>20 ) {
>
> There is mention about this in gcc 6 porting "guide" -
> https://gcc.gnu.org/gcc-6/porting_to.html
>
> But, I have no idea how to fix this.

May you could try to change abs to fabs (or alternatives)?
Otherwise, explicit type cast could help.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux