Date: Thu, 12 Sep 2013 05:58:02 GMT From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182027: astro/stellarium: error: call to 'abs' is ambiguous int m = (int)((std::abs(hours)-std::abs(h))*60); Message-ID: <201309120558.r8C5w2MT037330@oldred.freebsd.org> Resent-Message-ID: <201309120600.r8C600hi073464@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309120558.r8C5w2MT037330>