From owner-freebsd-ports@freebsd.org Wed Nov 9 01:37:46 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0A29C37831 for ; Wed, 9 Nov 2016 01:37:46 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 858AF7ED for ; Wed, 9 Nov 2016 01:37:45 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x230.google.com with SMTP id q130so240001696qke.1 for ; Tue, 08 Nov 2016 17:37:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=QYOysCLTxVad/1XRAEM2r55sCDGgvKEKsBrcywdDC50=; b=bToeYNpwo9uhLcgTMnlUGGRjAQIgUUpd39mjEoAA9+nlPLwWgJQsEa5mJFc43n6OS7 X39MMK4M7hG2ZPpjbPWBT9cB+u5YBzSNovvKUb+eGh07e7IFtw/aeLhfQI90QWvxG41y X6HE7KoJEssZKdva/bLEUsxOYofBe0R0uAVwc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=QYOysCLTxVad/1XRAEM2r55sCDGgvKEKsBrcywdDC50=; b=Wq0JCebMySxsn01223Fsp7Bgq4MPWxnwZo7SyxVdyS2iyV7XpymkR+mfI9DqxgMvl1 e0R2K9UQBWmgh9CeZxPppQ/Mlh0zatMEa6f5xx3Xr8rmQRRJmWSFDv+U5nUNIgdmCOgO RfKmTmMQGzCW2bwy6OXI0ebDNr+YOSa8ht/YHkN/PsNWy8bnRpIs/TkkeFoDa7MnA3td EFtCka/qJ4NFeQCioV8ywBVXM5QhpdnudJiLMwu250b95PTROewKqPzkYwiwq42oiFFr KO6Y+baM84UlIaP8tkdmMthX4/BfnTDtK9AssL1QGj/UvqSXQ+18GZ2D4uKBXQnrFnCU g2/Q== X-Gm-Message-State: ABUngve8MC5yTLKpiZPwySnjpavaHIeP2gKu7RpIRootEjqOgh/PalFc9PzsehkIZsYEDQ== X-Received: by 10.55.24.132 with SMTP id 4mr15719182qky.218.1478655464380; Tue, 08 Nov 2016 17:37:44 -0800 (PST) Received: from [192.168.0.11] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id o190sm21037270qke.5.2016.11.08.17.37.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Nov 2016 17:37:43 -0800 (PST) To: freebsd-ports@freebsd.org From: =?UTF-8?B?T3RhY8OtbGlv?= Subject: How compile "String inf = static_cast(&(ostringstream() << pAct.minArea))->str();" Message-ID: Date: Tue, 8 Nov 2016 22:37:37 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 01:37:46 -0000 I'm trying create a patch to OpenCV 3.1 runs on FreeBSD but clang don't compiles lines like this: String inf = static_cast(&(ostringstream() << pAct.minArea))->str(); Can someone give me a hint about how to fix it? []'s -Otacilio