Bug 362410

Summary: call of overloaded "abs(qreal)" is ambiguous
Product: [Applications] umbrello Reporter: Christoph Feck <cfeck>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker, rdieter
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 2.19.2 (KDE Applications 16.04.2)
Sentry Crash Report:

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