Date: Mon, 11 Apr 2016 19:47:49 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208726] editors/hte: Fix build with libc++ 3.8.0 Message-ID: <bug-208726-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208726 Bug ID: 208726 Summary: editors/hte: Fix build with libc++ 3.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mva@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(mva@FreeBSD.org) Assignee: mva@FreeBSD.org Created attachment 169221 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169221&action= =3Dedit Fix type for abs() call in editors/hte During the exp-run in bug 208158, it was found that editors/hte gives errors with libc++ 3.8.0 [1]: htapp.cc:3026:9: error: call to 'abs' is ambiguous while (abs(a - b) > 1) { ^~~ This is because abs() is being called with an unsigned argument. Fix this = by casting the argument to the appropriate signed type. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_= 18h30m05s/logs/errors/hte-2.1.0.log --=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-208726-13>