Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 14:24:01 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Andriy Kornatskyy <andriy.kornatskyy@live.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: www/chromium: call to 'abs' is ambiguous
Message-ID:  <CADL2u4hVD6tBrkU7tz0TbD3LpujjTDoWznr466jBJxL2kwyaMA@mail.gmail.com>
In-Reply-To: <DUB117-W128B67F64EF98277A52B7F491FC0@phx.gbl>
References:  <DUB117-W128B67F64EF98277A52B7F491FC0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/2/26 Andriy Kornatskyy <andriy.kornatskyy@live.com>:
>
> See below.
>
You can try the patch for base/media/audio_splicer.cc at
http://forums.freebsd.org/showthread.php?t=38000

I'm doing a test build right now.

Rene

> Andriy
>
> -----------------------------------------------------------------------------------
>
> clang++: warning: argument unused during compilation: '-fconserve-space'
> media/base/audio_splicer.cc:63:7: error: call to 'abs' is ambiguous
>   if (std::abs(delta.InMilliseconds()) > kMaxTimeDeltaInMilliseconds) {
>       ^~~~~~~~
>   CXX(target) out/Release/obj.target/media/media/base/bit_reader.o
> /usr/include/stdlib.h:83:6: note: candidate function
> int      abs(int) __pure2;
>          ^
> /usr/include/c++/4.2/cstdlib:142:3: note: candidate function
>   abs(long __i) { return labs(__i); }
>   ^
> 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=4'
> clang++: warning: argument unused during compilation: '-fconserve-space'
> *** [do-build] Error code 1
>
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4hVD6tBrkU7tz0TbD3LpujjTDoWznr466jBJxL2kwyaMA>