Date: Tue, 26 Feb 2013 16:08:40 +0300 From: Andriy Kornatskyy <andriy.kornatskyy@live.com> To: <freebsd-ports@freebsd.org> Subject: www/chromium: call to 'abs' is ambiguous Message-ID: <DUB117-W128B67F64EF98277A52B7F491FC0@phx.gbl>
next in thread | raw e-mail | index | archive | help
See below. Andriy ---------------------------------------------------------------------------= -------- clang++: warning: argument unused during compilation: '-fconserve-space' media/base/audio_splicer.cc:63:7: error: call to 'abs' is ambiguous =A0 if (std::abs(delta.InMilliseconds()) > kMaxTimeDeltaInMilliseconds) { =A0 =A0 =A0 ^~~~~~~~ =A0 CXX(target) out/Release/obj.target/media/media/base/bit_reader.o /usr/include/stdlib.h:83:6: note: candidate function int =A0 =A0 =A0abs(int) __pure2=3B =A0 =A0 =A0 =A0 =A0^ /usr/include/c++/4.2/cstdlib:142:3: note: candidate function =A0 abs(long __i) { return labs(__i)=3B } =A0 ^ 1 error generated. clang++: gmake: *** [out/Release/obj.target/media/media/base/audio_splicer.= o] Error 1 gmake: *** Waiting for unfinished jobs.... warning: argument unused during compilation: '--param ssp-buffer-size=3D4' clang++: warning: argument unused during compilation: '-fconserve-space' *** [do-build] Error code 1 =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DUB117-W128B67F64EF98277A52B7F491FC0>