From owner-freebsd-ports@FreeBSD.ORG Tue Feb 26 13:24:02 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 98CD1983 for ; Tue, 26 Feb 2013 13:24:02 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6B232295 for ; Tue, 26 Feb 2013 13:24:02 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id m1so4984066oag.40 for ; Tue, 26 Feb 2013 05:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=F1k1/7nM5HgzzpoJk20woIQfxfI5/1oFvjOzTB0q5lU=; b=mXCX2kQc84SRSum5pUkf2oqaPWuUUZiCyohzn6nZxq/PaLHj/pH3L+dSyWxlH4avzz kJ/Z/dWH9xGoPY/vLAljur6kcIwfSO81MFp+1OPqKtto3eEghdECwn5M+v/A6P1XIyJM b5tZfIumRlShA3bkXcCb3uhpk5v62PcW99RT/mVGFqrpBAwAgTEfAZMdbxhQJBkkSIje WJl1NaQifHY2WhRbVU/dBtLOnimPkPQwSPjOUUFDGFGavaD4+c9w0zdA/r5Wc0cvw8aC S4oQsRM2E+Y0TZPk16qzUEcYK7YqI0lAx0bw4XzuhK2a0h7O1+MtSFSvVeRXITKrb8/d hEEg== MIME-Version: 1.0 X-Received: by 10.182.123.78 with SMTP id ly14mr11336513obb.58.1361885041624; Tue, 26 Feb 2013 05:24:01 -0800 (PST) Sender: r.c.ladan@gmail.com Received: by 10.182.146.6 with HTTP; Tue, 26 Feb 2013 05:24:01 -0800 (PST) In-Reply-To: References: Date: Tue, 26 Feb 2013 14:24:01 +0100 X-Google-Sender-Auth: 0dWftfTo7lNvJC-JZDT7aFllWOI Message-ID: Subject: Re: www/chromium: call to 'abs' is ambiguous From: =?ISO-8859-1?Q?Ren=E9_Ladan?= To: Andriy Kornatskyy Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 13:24:02 -0000 2013/2/26 Andriy Kornatskyy : > > 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"