Date: Mon, 14 Nov 2016 09:49:04 +0100 From: Patrick Hess <patrick_lists@phess.net> To: freebsd-ports@freebsd.org Subject: Re: How compile "String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minArea))->str();" Message-ID: <e693433c-2191-6742-15c0-42fcbbc928d4@phess.net> In-Reply-To: <ebbf89d2-f83a-b03a-95db-05c7d5358aa7@bsd.com.br> References: <ebbf89d2-f83a-b03a-95db-05c7d5358aa7@bsd.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09.11.2016 02:37, OtacĂlio wrote: > 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*>(&(ostringstream() << pAct.minArea))->str(); You need to provide us with the *exact* error message from clang. By the way, that line is the text-book definition of code horror, but that's a different story. Patrick -- If you'd like to send me a private message, make sure to remove the "_lists" part from my address.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e693433c-2191-6742-15c0-42fcbbc928d4>