Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631344 - <=media-gfx/inkscape-0.92.1 - ui/tools/flood-tool.cpp:252:119: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
Summary: <=media-gfx/inkscape-0.92.1 - ui/tools/flood-tool.cpp:252:119: error: call of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2017-09-18 20:23 UTC by Alex
Modified: 2017-12-24 00:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-09-18 20:23:09 UTC
This is a known bug that is caused by GCC7 exporting more versions of abs().

ui/tools/flood-tool.cpp:252:119: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
             diff += abs(static_cast<int>(amc ? unpremul_alpha(gmc, amc) : 0) - (amop ? unpremul_alpha(gmop, amop) : 0));

This bug is already known by upstream and fixed in git, to be included in 0.93 release:
https://bugs.launchpad.net/inkscape/+bug/1660992

And there is fix:
https://gitlab.com/inkscape/inkscape/commit/3876176ec28cac3b70f0b330b760aaa561236ee7

Please include this patch into ebuild.
Comment 1 Christian Strahl 2017-10-15 12:29:26 UTC
fixed in https://github.com/gentoo/gentoo/pull/5953
Comment 2 Patrice Clement gentoo-dev 2017-10-27 21:05:27 UTC
Please bump the ebuild instead to version 0.92.2. https://gitlab.com/inkscape/inkscape/commit/5c3e80d38602051974509262c13d76a068a041e4
Comment 3 Greg Turner 2017-11-03 02:19:46 UTC
(In reply to Patrice Clement from comment #2)
> Please bump the ebuild instead to version 0.92.2.
> https://gitlab.com/inkscape/inkscape/commit/
> 5c3e80d38602051974509262c13d76a068a041e4

Revbump certainly W4M fwiw (perhaps a negative quantity :P)