Date: Mon, 23 May 2016 16:26:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209694] x11-toolkits/wxgtk30: Fix build with libc++ 3.8.0 Message-ID: <bug-209694-13-eiRHY1Kauo@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209694-13@https.bugs.freebsd.org/bugzilla/> References: <bug-209694-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209694 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Mon May 23 16:25:21 UTC 2016 New revision: 415729 URL: https://svnweb.freebsd.org/changeset/ports/415729 Log: During the exp-run in bug 208158, it was found that x11-toolkits/wxgtk30 gives errors with libc++ 3.8.0: ./src/stc/scintilla/src/Editor.cxx:5844:6: error: call to 'abs' is ambigu= ous if (abs(pt1.x - pt2.x) > 3) ^~~ This is because pt1.x and pt2.x are float values, but <cmath> is not included, and abs() for float values comes from that header. Fix it by including <cmath>. Approved by: portmaster@bsdforge.com (maintainer) Approved by: vlad-fbsd@acheronmedia.com (maintainer) PR: 209694 MFH: 2016Q2 Changes: head/x11-toolkits/wxgtk30/files/patch-src_stc_scintilla_src_Editor.cxx --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209694-13-eiRHY1Kauo>