Bug 362410 - call of overloaded "abs(qreal)" is ambiguous
Summary: call of overloaded "abs(qreal)" is ambiguous
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 12:23 UTC by Christoph Feck
Modified: 2016-04-29 06:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.19.2 (KDE Applications 16.04.2)
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2016-04-28 12:23:13 UTC
With today's git master at 6051fd05ef97566ea8122858c8c6a69a3b8c10ff and
gcc 6.1:

umbrello/umlwidgets/associationwidget.cpp: In member function ‘void AssociationWidget::updatePointsException()’:
umbrello/umlwidgets/associationwidget.cpp:2136:28: error: call of overloaded ‘abs(qreal)’ is ambiguous
umbrello/umlwidgets/associationwidget.cpp:2138:28: error: call of overloaded ‘abs(qreal)’ is ambiguous

umbrello/umlwidgets/associationwidget.cpp: In member function ‘virtual void AssociationWidget::constrainTextPos(qreal&, qreal&, qreal, qreal, Uml::TextRole::Enum)’:
umbrello/umlwidgets/associationwidget.cpp:2706:55: error: call of overloaded ‘abs(qreal)’ is ambiguous
umbrello/umlwidgets/associationwidget.cpp:2707:55: error: call of overloaded ‘abs(qreal)’ is ambiguous
Comment 1 Ralf Habacker 2016-04-28 12:59:01 UTC
Git commit 5a61fbc0e6218a9e40a53d4bc2f3785dcdd2eb68 by Ralf Habacker.
Committed on 28/04/2016 at 12:54.
Pushed by habacker into branch 'Applications/16.04'.

Fix of 'call of overloaded "abs(qreal)" is ambiguous'.

stackoverflow.com mentiones to use fabs().
FIXED-IN:2.19.2 (KDE Applications 16.04.2)

M  +4    -4    umbrello/umlwidgets/associationwidget.cpp