** Branch linked: lp:~ci-train-bot/ubuntu-ui-toolkit/ubuntu-ui-toolkit-
ubuntu-yakkety-landing-070

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1610943

Title:
  UITK FTBFS on yakkety, GCC6 change

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed

Bug description:
  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"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1610943/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to