Summary: | 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 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | rnddim |
Component: | Current packages | Assignee: | Chí-Thanh Christopher Nguyễn <chithanh> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info '=x11-libs/agg-2.5-r3::gentoo' |
Created attachment 534226 [details]
emerge --info '=x11-libs/agg-2.5-r3::gentoo'
problem has been described and explained, patch has been provided at https://bugs.gentoo.org/664078, please close it as duplicate. *** This bug has been marked as a duplicate of bug 664078 *** |
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.