diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-05-08 12:05:52 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-05-08 12:05:52 +0000 |
commit | e195078b9f2d0d5fa35b101c405c1ce91afe34a5 (patch) | |
tree | ab5d024211f6edeb5ebbea9a1220de44b8fc79c2 /devel/codeblocks/files | |
parent | Include GNUTLS in the default options since apparently it does help (diff) |
During the exp-run in bug 208158, it was found that deskutils/easystroke
gives errors with libc++ 3.8.0:
handler.cc:536:21: error: static declaration of 'abs' follows non-static declaration
static inline float abs(float x) { return x > 0 ? x : -x; }
^
/usr/include/c++/v1/math.h:646:1: note: previous definition is here
abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
^
This is because easystroke tries to roll its own version of abs(), which
is already defined in math.h. Fix this by removing the custom abs().
Approved by: t@tobik.me (maintainer)
PR: 209372
MFH: 2016Q2
Diffstat (limited to 'devel/codeblocks/files')
0 files changed, 0 insertions, 0 deletions