[Bug 209612] games/trackballs: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 18 15:55:42 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209612
Bug ID: 209612
Summary: games/trackballs: 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: martymac at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(martymac at FreeBSD.org)
Assignee: martymac at FreeBSD.org
Created attachment 170451
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170451&action=edit
Remove hand-rolled abs functions from games/trackballs
During the exp-run in bug 208158, it was found that games/trackballs gives
errors with libc++ 3.8.0 [1]:
glHelp.cc:132:13: error: 'abs' is missing exception specification 'throw()'
inline Real abs(Real v) {return v>0.0?v:-v;}
^
This is because the program is attempting to define its own version of abs(),
which conflicts with the one from <cmath>. Fix it by removing the custom
versions of abs().
[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_10h29m48s/logs/errors/trackballs-1.1.4_21.log
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list