ports/182027: astro/stellarium: error: call to 'abs' is ambiguous int m = (int)((std::abs(hours)-std::abs(h))*60);
O. Hartmann
ohartman at zedat.fu-berlin.de
Thu Sep 12 06:00:00 UTC 2013
>Number: 182027
>Category: ports
>Synopsis: astro/stellarium: error: call to 'abs' is ambiguous int m = (int)((std::abs(hours)-std::abs(h))*60);
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 12 06:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: O. Hartmann
>Release: FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #4 r255479: Wed Sep 11 21:41:38 CEST 2013 amd64
no libstdc++
no conversters/libiconv
>Description:
This cmath/math.h issue bothers me a long time for now in graphics/blender (non working on FreeBSD 10.0-CURRENT for a long time now) and now in astro/stellarium:
[...]
[ 83%] Building CXX object src/CMakeFiles/stellarium.dir/core/StelTranslator.cpp.o
/usr/ports/astro/stellarium/work/stellarium-0.12.3/src/core/StelUtils.cpp:1068:33: error: call to 'abs' is ambiguous
int m = (int)((std::abs(hours)-std::abs(h))*60);
^~~~~~~~
/usr/include/c++/v1/cmath:659:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list