www/chromium: call to 'abs' is ambiguous

Andriy Kornatskyy andriy.kornatskyy at live.com
Tue Feb 26 13:09:49 UTC 2013


See below.

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

 		 	   		  


More information about the freebsd-ports mailing list