Summary: | x11-libs/wxGTK-3.0.2.0-r2: building w/gcc-6: error: call of overloaded 'abs(XYPOSITION)' is ambiguous | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Turco <fturco> |
Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hendrik |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=632144 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
build log using gcc-6.2.0
emerge --info wxGTK-3 abs -> fabs wxGTK-3 abs -> fabs (cmath) |
Description
Francesco Turco
2016-08-30 14:35:38 UTC
Created attachment 444440 [details]
emerge --info
Created attachment 444622 [details, diff]
wxGTK-3 abs -> fabs
Created attachment 444624 [details, diff]
wxGTK-3 abs -> fabs (cmath)
Same, but some more native for c++ (#include <cmath>)
I see this has been fixed in wxGTK 3.1.0 with the patch from here: https://github.com/wxphp/appimage/blob/master/wxgtk-gcc6.patch. I will also mention this in the wxGTK 3.1.0 thread (bug 577030). Thanks, I'll have a look next week. (In reply to ncahill_alt from comment #5) > I see this has been fixed in wxGTK 3.1.0 with the patch from here: > https://github.com/wxphp/appimage/blob/master/wxgtk-gcc6.patch. > > I will also mention this in the wxGTK 3.1.0 thread (bug 577030). This is the correct patch. If someone wants to apply it go ahead. I don't have commit access at the moment. commit 8fc2b29f54a92b6c66baa691ab751285be34cdb4 Author: David Seifert <soap@gentoo.org> Date: Sun Oct 2 13:21:57 2016 +0200 x11-libs/wxGTK: Allow for compiling with GCC 6 Gentoo-bug: 592436 Acked-by: Ryan Hill <rhill@gentoo.org> commit eb60cc77486346e23e843acc46e4a710b9d8cdbc Author: David Seifert <soap@gentoo.org> Date: Sun Oct 2 11:41:03 2016 +0200 x11-libs/wxGTK: Allow for compiling with GCC 6 Gentoo-bug: 592436 Acked-by: Ryan Hill <rhill@gentoo.org> |