Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656970 - x11-libs/agg-2.5-r3 - In file included from agg_line_profile_aa.cpp:25: ../include/agg_renderer_outline_aa.h:1378:45: error: binding reference of type ‘agg::line_profile_aa&’ to ‘const agg::line_profile_aa’ discards qualifiers
Summary: x11-libs/agg-2.5-r3 - In file included from agg_line_profile_aa.cpp:25: ../in...
Status: RESOLVED DUPLICATE of bug 664078
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 15:18 UTC by rnddim
Modified: 2018-09-27 08:25 UTC (History)
0 users

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


Attachments
build.log (build.log,24.94 KB, text/plain)
2018-05-31 15:18 UTC, rnddim
Details
emerge --info '=x11-libs/agg-2.5-r3::gentoo' (emerge-info.txt,6.49 KB, text/plain)
2018-05-31 15:19 UTC, rnddim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rnddim 2018-05-31 15:18:50 UTC
Created attachment 534224 [details]
build.log

Trying to compile agg comes with this error:

In file included from agg_line_profile_aa.cpp:25:
../include/agg_renderer_outline_aa.h: In member function ‘agg::line_profile_aa& agg::renderer_outline_aa<BaseRenderer>::profile()’:
../include/agg_renderer_outline_aa.h:1378:45: error: binding reference of type ‘agg::line_profile_aa&’ to ‘const agg::line_profile_aa’ discards qualifiers
         line_profile_aa& profile() { return *m_profile; }
                                             ^~~~~~~~~~

I would not be surprised if this comes as a result of me using gcc-8.1, though I can't say for sure that's the reason why.
Comment 1 rnddim 2018-05-31 15:19:58 UTC
Created attachment 534226 [details]
emerge --info '=x11-libs/agg-2.5-r3::gentoo'
Comment 2 Tom Li 2018-08-24 18:00:41 UTC
problem has been described and explained, patch has been provided at https://bugs.gentoo.org/664078, please close it as duplicate.
Comment 3 Pacho Ramos gentoo-dev 2018-09-27 08:25:17 UTC

*** This bug has been marked as a duplicate of bug 664078 ***