Public bug reported:
ucbottomedge.cpp: In member function ‘void
UCBottomEdgePrivate::detectDirection(qreal)’:
ucbottomedge.cpp:263:33: error: call of overloaded ‘abs(qreal&)’ is ambiguous
bool deltaPassed = abs(delta) >= qApp->styleHints()->startDragDistance();
^
In file included from /usr/include/c++/6/cstdlib:75:0,
from /usr/include/c++/6/bits/stl_algo.h:59,
from /usr/include/c++/6/algorithm:62,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:88,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4,
from ../../../include/UbuntuToolkit/UbuntuToolkitDepends:3:
/usr/include/stdlib.h:774:12: note: candidate: int abs(int)
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^~~
In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,
from /usr/include/c++/6/algorithm:62,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:88,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4,
from ../../../include/UbuntuToolkit/UbuntuToolkitDepends:3:
/usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long
long int)
abs(long long __x) { return __builtin_llabs (__x); }
^~~
/usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^~~
...etc
>From https://gcc.gnu.org/gcc-6/porting_to.html:
"Code which assumes that abs, malloc etc. are macros may no longer compile"
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Critical
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610943
Title:
UITK FTBFS on yakkety, GCC6 change
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1610943/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs