Date: Fri, 06 May 2016 15:59:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209333] audio/calf: Fix build with libc++ 3.8.0 Message-ID: <bug-209333-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209333 Bug ID: 209333 Summary: audio/calf: 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: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org Created attachment 170051 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170051&action= =3Dedit Fix argument types for std::min() and std::max() in audio/calf During the exp-run in bug 208158, it was found that audio/calf gives errors with libc++ 3.8.0 [1]: analyzer.cpp:473:59: error: no matching function for call to 'max' fft_outL[_iter] =3D 0.25f * std::max(n * 0.= 6f * \ ^~~~~~~~ This is because in several places, std::min() and std::max() are called with mismatched arguments, e.g. float and double, or vice versa. Fix this by changing most instances to use fabsf() and explicit float types. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_= 10h29m48s/logs/errors/calf-0.0.60_1.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-209333-13>